added volumes_from kwarg to run_launcher
This commit is contained in:
parent
0b15018722
commit
d32c2b4d33
2 changed files with 6 additions and 6 deletions
|
|
@ -24,11 +24,11 @@ run_launcher:
|
||||||
- MOBILITY_DB_REFRESH_TOKEN
|
- MOBILITY_DB_REFRESH_TOKEN
|
||||||
network: dagster
|
network: dagster
|
||||||
container_kwargs:
|
container_kwargs:
|
||||||
volumes: # Make docker client accessible to any launched containers as well
|
volumes_from:
|
||||||
|
- dagster_code
|
||||||
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /tmp/io_manager_storage:/tmp/io_manager_storage
|
- /tmp/io_manager_storage:/tmp/io_manager_storage
|
||||||
- /home/ben/code/gtfs-dagster/data:/opt/dagster/app/data
|
|
||||||
- /home/ben/code/gtfs-dagster/config:/opt/dagster/app/config
|
|
||||||
|
|
||||||
run_storage:
|
run_storage:
|
||||||
module: dagster_postgres.run_storage
|
module: dagster_postgres.run_storage
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,9 @@ services:
|
||||||
MOBILITY_DB_REFRESH_TOKEN: ${MOBILITY_DB_REFRESH_TOKEN}
|
MOBILITY_DB_REFRESH_TOKEN: ${MOBILITY_DB_REFRESH_TOKEN}
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes: # these volumes are also passed on to the containers that are spawned to run the assets.
|
||||||
- ./data:/opt/dagster/app/data
|
- ${DATA_DIRECTORY}:/opt/dagster/app/data
|
||||||
- ./config:/opt/dagster/app/config
|
- ${CONFIG_DIRECTORY}:/opt/dagster/app/config
|
||||||
networks:
|
networks:
|
||||||
- dagster
|
- dagster
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue