Revert "made data and config directories dynamic, switched from DockerRunLauncher to DefaultRunLauncher"
This reverts commit f85935dd75.
This commit is contained in:
parent
575311edc6
commit
0b15018722
2 changed files with 28 additions and 13 deletions
|
|
@ -14,7 +14,7 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ${POSTGRES_DIRECTORY}:/var/lib/postgresql/data
|
||||
- ./postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- dagster
|
||||
healthcheck:
|
||||
|
|
@ -45,8 +45,8 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ${DATA_DIRECTORY}:/opt/dagster/app/data
|
||||
- ${CONFIG_DIRECTORY}:/opt/dagster/app/config
|
||||
- ./data:/opt/dagster/app/data
|
||||
- ./config:/opt/dagster/app/config
|
||||
networks:
|
||||
- dagster
|
||||
|
||||
|
|
@ -74,10 +74,9 @@ services:
|
|||
DAGSTER_POSTGRES_DB: ${POSTGRES_DB}
|
||||
env_file:
|
||||
- .env
|
||||
## 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
|
||||
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
|
||||
networks:
|
||||
- dagster
|
||||
depends_on:
|
||||
|
|
@ -103,10 +102,9 @@ services:
|
|||
DAGSTER_POSTGRES_DB: ${POSTGRES_DB}
|
||||
env_file:
|
||||
- .env
|
||||
## 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
|
||||
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
|
||||
networks:
|
||||
- dagster
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue