Skip to content

Commit

Permalink
fix(docker-compose): Workspace file location in daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Jan 20, 2025
1 parent 431736d commit b932a81
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions infrastructure/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ x-postgres-variables: &postgres-variables
POSTGRES_USER: ${POSTGRES_USER:-dagster_user}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-dagster_password}
POSTGRES_DB: ${POSTGRES_DB:-dagster_db}
POSTGRES_PORT: ${POSTGRES_PORT:-5438}
POSTGRES_HOST: "dagster-postgres"

x-dagster-configs: &dagster-configs
Expand All @@ -27,7 +26,7 @@ services:
volumes:
- dagster-pgdata-vol:/var/lib/postgresql/data
expose:
- ${POSTGRES_PORT:-5438} # Publishes on network but not to host
- "5432" # Publishes on network but not to host
networks: ["dagster-network"]
healthcheck:
test: pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB
Expand Down Expand Up @@ -80,7 +79,7 @@ services:
dagster-daemon:
container_name: dagster-daemon
image: dagster/dagster-k8s:latest
command: ["dagster-daemon", "run"]
command: ["dagster-daemon", "run", "-w", "/opt/dagster/home/workspace.yaml"]
restart: on-failure
environment:
<<: *postgres-variables
Expand Down Expand Up @@ -129,8 +128,7 @@ configs:
env: POSTGRES_HOST
db_name:
env: POSTGRES_DB
port:
env: POSTGRES_PORT
port: 5432
local_artifact_storage:
module: dagster.core.storage.root
class: LocalArtifactStorage
Expand Down

0 comments on commit b932a81

Please sign in to comment.