persistent storage for database
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,4 +2,7 @@
|
||||
storage/
|
||||
.idea/
|
||||
.ipynb_checkpoints/
|
||||
__pycache__/
|
||||
trash/
|
||||
db/
|
||||
.DS_Store
|
||||
|
||||
@@ -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
|
||||
|
||||
1
src/app/sync.sh
Normal file → Executable file
1
src/app/sync.sh
Normal file → Executable file
@@ -2,6 +2,7 @@
|
||||
rsync -av /opt/dagster/src/app/vinyl/ \
|
||||
/Volumes/dagster/src/app/vinyl/ \
|
||||
--include='*.py' \
|
||||
--include='*requirements.txt' \
|
||||
--exclude='__pycache__/' \
|
||||
-progress \
|
||||
--delete $*
|
||||
|
||||
Reference in New Issue
Block a user