From a0d2bfed1fb0131f96e682297777219e69a114de Mon Sep 17 00:00:00 2001 From: Jan Nonnen Date: Tue, 10 Feb 2015 13:58:51 +0100 Subject: [PATCH] Change port back to 8080 --- 400-nominatim.conf | 4 ++-- README.md | 8 ++++---- local.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/400-nominatim.conf b/400-nominatim.conf index 58ebad0..4aea773 100644 --- a/400-nominatim.conf +++ b/400-nominatim.conf @@ -1,5 +1,5 @@ -Listen 8072 - +Listen 8080 + ServerName localhost ServerAdmin root@example.com DocumentRoot /var/www/nominatim diff --git a/README.md b/README.md index ebc0cdc..901bf58 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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" ``` diff --git a/local.php b/local.php index b587c92..02c2006 100644 --- a/local.php +++ b/local.php @@ -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