move storage dir
This commit is contained in:
@@ -35,8 +35,8 @@ services:
|
|||||||
- /opt/dagster/apps/:/code/apps/:ro
|
- /opt/dagster/apps/:/code/apps/:ro
|
||||||
- /opt/dagster/shared/:/code/shared/:ro
|
- /opt/dagster/shared/:/code/shared/:ro
|
||||||
- /opt/dagster/logs/:/logs:rw
|
- /opt/dagster/logs/:/logs:rw
|
||||||
- /opt/dagster/storage/import/:/storage/import/:ro
|
# - /mnt/mezzo/scratch/dagster/import/:/storage/import/:ro
|
||||||
- /opt/dagster/storage/deals/:/storage/deals/:rw
|
- /mnt/mezzo/scratch/dagster/deals/:/storage/deals/:rw
|
||||||
networks:
|
networks:
|
||||||
- dagster
|
- dagster
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ x-postgres-env: &postgres_env
|
|||||||
POSTGRES_DB: ${POSTGRES_DB}
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
x-system-env: &system_env
|
x-system-env: &system_env
|
||||||
TZ: Europe/Amsterdam
|
TZ: Europe/Amsterdam
|
||||||
|
DATA_DIR: ${DATA_DIR}
|
||||||
CACHE_DIR: /tmp/cache
|
CACHE_DIR: /tmp/cache
|
||||||
x-dagster-env: &dagster_env
|
x-dagster-env: &dagster_env
|
||||||
DAGSTER_POSTGRES_HOST: ${POSTGRES_HOST}
|
DAGSTER_POSTGRES_HOST: ${POSTGRES_HOST}
|
||||||
@@ -26,7 +27,7 @@ x-volumes: &volumes
|
|||||||
- /opt/dagster/dagster.yaml:/opt/dagster/home/dagster.yaml.template:ro
|
- /opt/dagster/dagster.yaml:/opt/dagster/home/dagster.yaml.template:ro
|
||||||
- /opt/dagster/workspace.yaml:/opt/dagster/home/workspace.yaml:ro
|
- /opt/dagster/workspace.yaml:/opt/dagster/home/workspace.yaml:ro
|
||||||
- /opt/dagster/system/:/code/system/:ro
|
- /opt/dagster/system/:/code/system/:ro
|
||||||
- /opt/dagster/storage/:/storage/:rw
|
- /mnt/mezzo/scratch/dagster/:/storage/:rw
|
||||||
- /opt/dagster/logs/:/logs:rw
|
- /opt/dagster/logs/:/logs:rw
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:rw
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ run_launcher:
|
|||||||
- DAGSTER_POSTGRES_USER
|
- DAGSTER_POSTGRES_USER
|
||||||
- DAGSTER_POSTGRES_PASSWORD
|
- DAGSTER_POSTGRES_PASSWORD
|
||||||
- DAGSTER_POSTGRES_DB
|
- DAGSTER_POSTGRES_DB
|
||||||
|
- DATA_DIR
|
||||||
- SMTP_SERVER
|
- SMTP_SERVER
|
||||||
- SMTP_PORT
|
- SMTP_PORT
|
||||||
- SMTP_USERNAME
|
- SMTP_USERNAME
|
||||||
@@ -33,8 +34,8 @@ run_launcher:
|
|||||||
volumes:
|
volumes:
|
||||||
- /opt/dagster/apps/:/code/apps/:ro
|
- /opt/dagster/apps/:/code/apps/:ro
|
||||||
- /opt/dagster/shared/:/code/shared/:ro
|
- /opt/dagster/shared/:/code/shared/:ro
|
||||||
- /opt/dagster/storage/:/storage/:rw
|
|
||||||
- /opt/dagster/logs/:/logs:rw
|
- /opt/dagster/logs/:/logs:rw
|
||||||
|
- ${DATA_DIR}:/storage/:rw
|
||||||
- ${CACHE_DIR}:/cache:rw
|
- ${CACHE_DIR}:/cache:rw
|
||||||
|
|
||||||
run_storage:
|
run_storage:
|
||||||
|
|||||||
Reference in New Issue
Block a user