Change default port to 8080
This commit is contained in:
parent
c4df7426dd
commit
69fa839200
@ -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]
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user