From 69fa839200babedc4dd1366e5d62f6c5c39e0e3f Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 10 Mar 2022 14:02:31 +0100 Subject: [PATCH] Change default port to 8080 --- docker-compose.hardened.yaml | 3 +-- docker-compose.yml | 2 +- nginx_web/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker-compose.hardened.yaml b/docker-compose.hardened.yaml index 3fb26ad..00db33c 100644 --- a/docker-compose.hardened.yaml +++ b/docker-compose.hardened.yaml @@ -9,8 +9,7 @@ services: - type: bind # same as php container source: ./web target: /data - environment: - NGINX_PORT: 8080 + # environment: # Change this if you rename the php container # PHP_FPM: php:9000 depends_on: [php] diff --git a/docker-compose.yml b/docker-compose.yml index 305d43d..c26243b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: nginx: image: namelessmc/nginx:v2-pr12 - ports: ['80:80'] + ports: ['8080:8080'] volumes: - type: bind # same as php container source: ./web diff --git a/nginx_web/Dockerfile b/nginx_web/Dockerfile index 10dbcf0..e9e567a 100644 --- a/nginx_web/Dockerfile +++ b/nginx_web/Dockerfile @@ -1,7 +1,7 @@ FROM nginx:alpine ENV PHP_FPM="php:9000" \ - NGINX_PORT="80" + NGINX_PORT="8080" RUN find /etc/nginx -type f -not -name 'mime.types' -not -name 'fastcgi_params' -delete && \ rm -rf conf.d modules