We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e6ac2 commit cf02a57Copy full SHA for cf02a57
docker-compose.yml
@@ -12,11 +12,11 @@ services:
12
nginx:
13
image: nginx:latest
14
ports:
15
- - "60080:80"
16
- - "60443:443"
+ - "${PORT_80}:80"
+ - "${PORT_443}:443"
17
restart: always
18
volumes:
19
- - ./nginx.conf:/etc/nginx/nginx.conf:ro
+ - "${NGINX_CONF_PATH}:/etc/nginx/nginx.conf:ro"
20
- ./static:/static:ro
21
- ./media:/media:ro
22
- /etc/letsencrypt:/etc/letsencrypt:ro
example.env
@@ -25,3 +25,6 @@ POSTGRES_DB=postgres
25
POSTGRES_USER=postgres
26
POSTGRES_PASSWORD=postgres
27
28
+PORT_80=80
29
+PORT_443=443
30
+NGINX_CONF_PATH=./nginx.conf
0 commit comments