ReferenceConfigurationCompose Services
ciam-hydra-migrate
Compose service `ciam-hydra-migrate`, runtime configuration across dev and prod
Compose service ciam-hydra-migrate.
Dev (compose.dev.yml)
Image: docker.io/oryd/hydra:v26.2.0
Command: migrate -c /etc/config/ciam-hydra/hydra.yml sql up -e --yes
Ports: none (internal only)
Environment variables:
| Variable | Source |
|---|---|
DSN | postgres://postgres:secret@postgres:5432/ciam_hydra?sslmode |
Volumes:
{"type":"bind","source":"./ciam-hydra","target":"/etc/config/ciam-hydra"}
Depends on: postgres
Restart policy: on-failure
Networks: intranet
Prod (compose.prod.yml)
Image: docker.io/oryd/hydra:v26.2.0
Command: hydra migrate -c /etc/config/ciam-hydra/hydra.yml sql up -e --yes
Ports: none (internal only)
Environment variables:
| Variable | Source |
|---|---|
DSN | ${PG_CIAM_HYDRA_DSN} |
Volumes:
{"type":"bind","source":"./check-secrets.sh","target":"/check-secrets.sh","read_only":true}{"type":"bind","source":"./ciam-hydra","target":"/etc/config/ciam-hydra"}{"type":"bind","source":"./postgres/pg-ca.crt","target":"/etc/ssl/certs/pg-ca.crt","read_only":true}
Depends on: postgres
Networks: intranet
Generated from platform/dev/compose.dev.yml and platform/prod/compose.prod.yml at build time.