persistent storage for database
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -2,4 +2,7 @@
|
|||||||
storage/
|
storage/
|
||||||
.idea/
|
.idea/
|
||||||
.ipynb_checkpoints/
|
.ipynb_checkpoints/
|
||||||
trash/
|
__pycache__/
|
||||||
|
trash/
|
||||||
|
db/
|
||||||
|
.DS_Store
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ services:
|
|||||||
<<: *postgres_env
|
<<: *postgres_env
|
||||||
networks:
|
networks:
|
||||||
- dagster
|
- dagster
|
||||||
|
volumes:
|
||||||
|
- /opt/dagster/db/:/var/lib/postgresql/data/
|
||||||
|
|
||||||
# This service runs dagit, which loads your user code from the user code container.
|
# 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
|
# 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/ \
|
rsync -av /opt/dagster/src/app/vinyl/ \
|
||||||
/Volumes/dagster/src/app/vinyl/ \
|
/Volumes/dagster/src/app/vinyl/ \
|
||||||
--include='*.py' \
|
--include='*.py' \
|
||||||
|
--include='*requirements.txt' \
|
||||||
--exclude='__pycache__/' \
|
--exclude='__pycache__/' \
|
||||||
-progress \
|
-progress \
|
||||||
--delete $*
|
--delete $*
|
||||||
|
|||||||
Reference in New Issue
Block a user