docker: add temp volume

This commit is contained in:
Herculino Trotta
2025-01-19 11:47:33 -03:00
parent a94e0b4904
commit 238f205513
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
volumes:
wygiwyh_dev_postgres_data: {}
temp:
wygiwyh_temp:
services:
web: &django
@@ -13,6 +13,7 @@ services:
volumes:
- ./app/:/usr/src/app/:z
- ./frontend/:/usr/src/frontend:z
- wygiwyh_temp:/usr/src/app/temp/
ports:
- "${OUTBOUND_PORT}:8000"
env_file:

View File

@@ -9,6 +9,8 @@ services:
- .env
depends_on:
- db
volumes:
- wygiwyh_temp:/usr/src/app/temp/
restart: unless-stopped
db:
@@ -29,5 +31,10 @@ services:
- db
env_file:
- .env
volumes:
- wygiwyh_temp:/usr/src/app/temp/
command: /start-procrastinate
restart: unless-stopped
volumes:
wygiwyh_temp: