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
|
- type: bind # same as php container
|
||||||
source: ./web
|
source: ./web
|
||||||
target: /data
|
target: /data
|
||||||
environment:
|
# environment:
|
||||||
NGINX_PORT: 8080
|
|
||||||
# Change this if you rename the php container
|
# Change this if you rename the php container
|
||||||
# PHP_FPM: php:9000
|
# PHP_FPM: php:9000
|
||||||
depends_on: [php]
|
depends_on: [php]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ services:
|
|||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: namelessmc/nginx:v2-pr12
|
image: namelessmc/nginx:v2-pr12
|
||||||
ports: ['80:80']
|
ports: ['8080:8080']
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind # same as php container
|
- type: bind # same as php container
|
||||||
source: ./web
|
source: ./web
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
ENV PHP_FPM="php:9000" \
|
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 && \
|
RUN find /etc/nginx -type f -not -name 'mime.types' -not -name 'fastcgi_params' -delete && \
|
||||||
rm -rf conf.d modules
|
rm -rf conf.d modules
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user