Olympus Docs
ReferenceConfigurationCompose Services

pgadmin

Compose service `pgadmin`, runtime configuration across dev and prod

Compose service pgadmin.

Dev (compose.dev.yml)

Image: docker.io/dpage/pgadmin4:9.14.0

Ports: none (internal only)

Environment variables:

VariableSource
PGADMIN_DEFAULT_EMAILadmin@demo.user
PGADMIN_DEFAULT_PASSWORDadmin123!
PGADMIN_CONFIG_SERVER_MODETrue
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIREDFalse
PGPASSFILE/pgpass

Volumes:

  • {"type":"bind","source":"./pgadmin-servers.json","target":"/pgadmin4/servers.json"}
  • {"type":"bind","source":"./pgadmin/config_local.py","target":"/pgadmin4/config_local.py"}
  • {"type":"bind","source":"./pgadmin/pgpass","target":"/pgpass"}

Depends on: postgres

Restart policy: unless-stopped

Networks: intranet

Prod (compose.prod.yml)

Image: docker.io/dpage/pgadmin4:9.14.0

Ports:

  • 5433:80

Environment variables:

VariableSource
PGADMIN_DEFAULT_EMAIL${ADMIN_EMAIL}
PGADMIN_DEFAULT_PASSWORDunused
PGADMIN_CONFIG_SERVER_MODETrue
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIREDFalse
PGADMIN_OAUTH_CLIENT_ID${PGADMIN_OAUTH_CLIENT_ID}
PGADMIN_OAUTH_CLIENT_SECRET${PGADMIN_OAUTH_CLIENT_SECRET}
IAM_HYDRA_PUBLIC_URL${IAM_HYDRA_PUBLIC_URL}
PGPASSFILE/pgpass

Volumes:

  • {"type":"bind","source":"./pgadmin/config_local.py","target":"/pgadmin4/config_local.py"}
  • {"type":"bind","source":"./pgadmin-servers.json","target":"/pgadmin4/servers.json"}
  • {"type":"bind","source":"./pgadmin/pgpass","target":"/pgpass"}

Depends on: postgres, iam-hydra

Restart policy: unless-stopped

Networks: intranet


Generated from platform/dev/compose.dev.yml and platform/prod/compose.prod.yml at build time.

On this page