Changeset View
Changeset View
Standalone View
Standalone View
examples/deploy_docker/docker-compose.yml
Show All 18 Lines | services: | ||||
# Multiple containers like this can be deployed separately - each just needs to run on | # Multiple containers like this can be deployed separately - each just needs to run on | ||||
# its own port, and have its own entry in the workspace.yaml file that's loaded by dagit. | # its own port, and have its own entry in the workspace.yaml file that's loaded by dagit. | ||||
docker_example_pipelines: | docker_example_pipelines: | ||||
build: | build: | ||||
context: . | context: . | ||||
dockerfile: ./Dockerfile_pipelines | dockerfile: ./Dockerfile_pipelines | ||||
container_name: docker_example_pipelines | container_name: docker_example_pipelines | ||||
image: docker_example_pipelines_image | image: docker_example_pipelines_image | ||||
restart: always | |||||
environment: | environment: | ||||
DAGSTER_POSTGRES_USER: "postgres_user" | DAGSTER_POSTGRES_USER: "postgres_user" | ||||
DAGSTER_POSTGRES_PASSWORD: "postgres_password" | DAGSTER_POSTGRES_PASSWORD: "postgres_password" | ||||
DAGSTER_POSTGRES_DB: "postgres_db" | DAGSTER_POSTGRES_DB: "postgres_db" | ||||
DAGSTER_CURRENT_IMAGE: "docker_example_pipelines_image" | DAGSTER_CURRENT_IMAGE: "docker_example_pipelines_image" | ||||
networks: | networks: | ||||
- docker_example_network | - docker_example_network | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |