feat(deploy): add qlockify.ir domain and ssl config
This commit is contained in:
@@ -72,17 +72,18 @@ services:
|
||||
expose:
|
||||
- "80"
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
# - "443:443" # Uncomment when adding SSL
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./nginx/.htpasswd:/etc/nginx/.htpasswd:ro
|
||||
- static_data:/usr/share/nginx/html/staticfiles:ro
|
||||
- media_data:/usr/share/nginx/html/mediafiles:ro
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./nginx/certs:/etc/nginx/certs:ro
|
||||
- ./nginx/.htpasswd:/etc/nginx/.htpasswd:ro
|
||||
- static_data:/usr/share/nginx/html/staticfiles:ro
|
||||
- media_data:/usr/share/nginx/html/mediafiles:ro
|
||||
depends_on:
|
||||
- backend
|
||||
- frontend
|
||||
|
||||
Reference in New Issue
Block a user