Skip to content

Commit

Permalink
Change port back to 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
helvalius committed Feb 10, 2015
1 parent 9a4050a commit a0d2bfe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions 400-nominatim.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Listen 8072
<VirtualHost *:8072>
Listen 8080
<VirtualHost *:8080>
ServerName localhost
ServerAdmin [email protected]
DocumentRoot /var/www/nominatim
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ docker build -t nominatim .

# Running

By default the container exposes port `8072` To run the container execute
By default the container exposes port `8080` To run the container execute

```
# remove any existing containers
docker rm -f nominatim_container || echo "nominatim_container not found, skipping removal"
docker run -p 8072:8072 --name nominatim_container --detach nominatim
docker run -p 8080:8080 --name nominatim_container --detach nominatim
```

Check the logs of the running container
Expand All @@ -37,8 +37,8 @@ Stop the container
docker stop nominatim_container
```

Connect to the nominatim webserver with curl. If this succeeds, open [http://localhost:8072/](http:/localhost:8072) in a web browser
Connect to the nominatim webserver with curl. If this succeeds, open [http://localhost:8080/](http:/localhost:8080) in a web browser

```
curl "http://localhost:8072"
curl "http://localhost:8080"
```
2 changes: 1 addition & 1 deletion local.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@define('CONST_Postgresql_Version', '9.3');
@define('CONST_Postgis_Version', '2.1');
// Website settings
@define('CONST_Website_BaseURL', 'http://localhost:8072/');
@define('CONST_Website_BaseURL', 'http://localhost:8080/');
@define('CONST_Replication_Url', 'http://download.geofabrik.de/europe-updates');
@define('CONST_Replication_MaxInterval', '86400'); // Process each update separately, osmosis cannot merge multiple updates
@define('CONST_Replication_Update_Interval', '86400'); // How often upstream publishes diffs
Expand Down

0 comments on commit a0d2bfe

Please sign in to comment.