feat: add nginx to serve media
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
parent
2fb9fe736c
commit
22c81be983
1 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,12 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
media:
|
||||||
|
image: nginx:alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./backend/media_cdn::/usr/share/nginx/html/media:ro
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: foldbank-backend-prod
|
image: foldbank-backend-prod
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue