persistent storage for database

This commit is contained in:
2024-12-23 11:36:46 +01:00
parent f9c83d29b3
commit e2964c95da
3 changed files with 7 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ services:
<<: *postgres_env
networks:
- dagster
volumes:
- /opt/dagster/db/:/var/lib/postgresql/data/
# This service runs dagit, which loads your user code from the user code container.
# Since our instance uses the QueuedRunCoordinator, any runs submitted from dagit will be put on