Files
PluralFlux/compose.yaml

36 lines
891 B
YAML
Raw Normal View History

2026-02-12 20:05:31 -05:00
services:
postgres:
image: postgres:latest
container_name: pluralflux-postgres
environment:
POSTGRES_PASSWORD: /run/secrets/postgres_pwd
secrets:
- postgres_pwd
volumes:
2026-02-12 20:32:45 -05:00
- pgdata:/var/lib/postgresql
2026-02-12 20:05:31 -05:00
ports:
- "5432:5432"
pgadmin:
image: dpage/pgadmin4:latest
ports:
- 5050:80
environment:
# Required by pgAdmin
2026-02-12 20:32:45 -05:00
PGADMIN_DEFAULT_EMAIL: /run/secrets/postgres_email
2026-02-12 20:05:31 -05:00
PGADMIN_DEFAULT_PASSWORD: /run/secrets/postgres_pwd
# Don't require the user to login
PGADMIN_CONFIG_SERVER_MODE: 'False'
# Don't require a "master" password after logging in
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
secrets:
- postgres_pwd
2026-02-12 20:32:45 -05:00
- postgres_email
2026-02-12 20:05:31 -05:00
volumes:
pgdata:
secrets:
postgres_pwd:
2026-02-12 20:32:45 -05:00
file: secrets/postgres_password.txt
postgres_email:
file: ./postgres-email.txt