From e2b6bb8c15f10513d95c0f59ac2356a5f0604cbd Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 8 Nov 2021 04:23:46 +0200 Subject: [PATCH] Docker: Use host port 8080 instead of 80 This makes life easier for a developer with port 80 already in use. Docker is used only in development - this does not affect production installations. Signed-off-by: Marko Lindqvist --- README.md | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 461d66b0a..9bb969d44 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Freeciv-web can easily be built and run from Docker using `docker-compose`. Web 3. Connect to docker via host machine using standard browser -http://localhost/ +http://localhost:8080/ Enjoy. The overall dockerfile and required changes to scripts needs some further improvements. diff --git a/docker-compose.yml b/docker-compose.yml index 8dc330a6d..b2cb0e62a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: volumes: - "data:/var/lib/tomcat8/webapps/data" ports: - - "80:80" + - "8080:80" - "4002" - "6000-6009:6000-6009" - "7000-7009:7000-7009"