feat: add nginx to serve media

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
Ameya Shenoy 2023-03-23 19:54:01 +05:30
parent 2fb9fe736c
commit 22c81be983
Signed by: codingcoffee
GPG key ID: EEC8EA855D61CEEC

View file

@ -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: