aboutsummaryrefslogtreecommitdiffhomepage
path: root/compose.prod.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.prod.yaml')
-rw-r--r--compose.prod.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/compose.prod.yaml b/compose.prod.yaml
index 07ff19e..a3b840c 100644
--- a/compose.prod.yaml
+++ b/compose.prod.yaml
@@ -5,6 +5,7 @@ services:
- '127.0.0.1:8002:80'
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
+ - files-data:/var/www/files:ro
depends_on:
- api-server
- app-server
@@ -15,6 +16,8 @@ services:
context: ./backend
expose:
- 80
+ volumes:
+ - files-data:/data/files:rw
depends_on:
db:
condition: service_healthy
@@ -77,3 +80,4 @@ services:
volumes:
db-data:
+ files-data: