mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-14 20:15:28 +10:00
47 lines
989 B
YAML
47 lines
989 B
YAML
services:
|
|
main:
|
|
build: .
|
|
container_name: pluralflux
|
|
restart: unless-stopped
|
|
networks:
|
|
- pluralflux-net
|
|
postgres:
|
|
image: postgres:latest
|
|
container_name: pluralflux-postgres
|
|
environment:
|
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pwd
|
|
secrets:
|
|
- postgres_pwd
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql
|
|
ports:
|
|
- "5432:5432"
|
|
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:
|
|
|
|
volumes:
|
|
pgdata:
|
|
|
|
secrets:
|
|
postgres_pwd:
|
|
file: ./secrets/postgres-password.txt
|