made data and config directories dynamic, switched from DockerRunLauncher to DefaultRunLauncher
This commit is contained in:
parent
1ca84d5788
commit
f85935dd75
2 changed files with 13 additions and 28 deletions
|
|
@ -14,7 +14,7 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./postgres_data:/var/lib/postgresql/data
|
||||
- ${POSTGRES_DIRECTORY}:/var/lib/postgresql/data
|
||||
networks:
|
||||
- dagster
|
||||
healthcheck:
|
||||
|
|
@ -45,8 +45,8 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ./data:/opt/dagster/app/data
|
||||
- ./config:/opt/dagster/app/config
|
||||
- ${DATA_DIRECTORY}:/opt/dagster/app/data
|
||||
- ${CONFIG_DIRECTORY}:/opt/dagster/app/config
|
||||
networks:
|
||||
- dagster
|
||||
|
||||
|
|
@ -74,9 +74,10 @@ services:
|
|||
DAGSTER_POSTGRES_DB: ${POSTGRES_DB}
|
||||
env_file:
|
||||
- .env
|
||||
volumes: # Make docker client accessible so we can terminate containers from the webserver
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /tmp/io_manager_storage:/tmp/io_manager_storage
|
||||
## Don't need for DefaultRunLauncher, uncomment for DockerRunLauncher
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
# - /tmp/io_manager_storage:/tmp/io_manager_storage
|
||||
networks:
|
||||
- dagster
|
||||
depends_on:
|
||||
|
|
@ -102,9 +103,10 @@ services:
|
|||
DAGSTER_POSTGRES_DB: ${POSTGRES_DB}
|
||||
env_file:
|
||||
- .env
|
||||
volumes: # Make docker client accessible so we can launch containers using host docker
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /tmp/io_manager_storage:/tmp/io_manager_storage
|
||||
## Don't need for DefaultRunLauncher, uncomment for DockerRunLauncher
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
# - /tmp/io_manager_storage:/tmp/io_manager_storage
|
||||
networks:
|
||||
- dagster
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue