Change default port to 8080

This commit is contained in:
Robin 2022-03-10 14:02:31 +01:00
parent c4df7426dd
commit 69fa839200
3 changed files with 3 additions and 4 deletions

View File

@ -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]

View File

@ -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

View File

@ -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