add dockerfile for nginx
This commit is contained in:
1 parent
7f68286126
commit
22e69ba31a
1 file changed
+3
-2
+3
-2
@@ -13,8 +13,9 @@ services:
|
|||||||
- "traefik.http.services.django-service.loadbalancer.server.port=8000"
|
- "traefik.http.services.django-service.loadbalancer.server.port=8000"
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
context: .
|
build:
|
||||||
dockerfile: Dockerfile.nginx
|
context: .
|
||||||
|
dockerfile: Dockerfile.nginx
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
- media_volume:/app/media:ro # انجینکس فقط باید بخواند (امنتر)
|
- media_volume:/app/media:ro # انجینکس فقط باید بخواند (امنتر)
|
||||||
|
|||||||
Reference in new issue
Block a user