2026-02-12 21:40:07 -05:00
|
|
|
services:
|
2026-02-16 11:08:41 -05:00
|
|
|
main:
|
|
|
|
|
build: .
|
|
|
|
|
container_name: pluralflux
|
2026-02-19 21:45:10 -05:00
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
|
|
|
|
- pluralflux-net
|
2026-02-12 20:05:31 -05:00
|
|
|
postgres:
|
|
|
|
|
image: postgres:latest
|
|
|
|
|
container_name: pluralflux-postgres
|
|
|
|
|
environment:
|
2026-02-12 21:40:07 -05:00
|
|
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pwd
|
2026-02-12 20:05:31 -05:00
|
|
|
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"
|
2026-02-19 21:45:10 -05:00
|
|
|
networks:
|
|
|
|
|
- pluralflux-net
|
|
|
|
|
pgadmin:
|
|
|
|
|
image: dpage/pgadmin4:latest
|
|
|
|
|
container_name: pluralflux-pgadmin
|
|
|
|
|
ports:
|
|
|
|
|
- "5050:80"
|
|
|
|
|
environment:
|
|
|
|
|
PGADMIN_DEFAULT_EMAIL: code@asterfialla.com
|
|
|
|
|
PGADMIN_DEFAULT_PASSWORD_FILE: /run/secrets/postgres_pwd
|
|
|
|
|
PGADMIN_CONFIG_SERVER_MODE: 'False'
|
|
|
|
|
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
|
|
|
|
|
secrets:
|
|
|
|
|
- postgres_pwd
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
networks:
|
|
|
|
|
- pluralflux-net
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
pluralflux-net:
|
2026-02-12 20:05:31 -05:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
pgdata:
|
|
|
|
|
|
|
|
|
|
secrets:
|
|
|
|
|
postgres_pwd:
|
2026-02-12 21:40:07 -05:00
|
|
|
file: ./secrets/postgres-password.txt
|