freshyo-deploy/master_side/docker-compose.yml
2026-01-30 19:28:45 +00:00

27 lines
769 B
YAML

services:
meatfarmer-db:
image: postgres:17
container_name: meatfarmer-db
restart: unless-stopped
ports:
- "7447:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: meatfarmer_master_password
POSTGRES_DB: meatfarmer
volumes:
- ./data:/var/lib/postgresql/data
- ./postgresql.conf:/etc/postgresql/postgresql.conf:ro
- ./pg_hba.conf:/etc/postgresql/pg_hba.conf:ro
- ./init-replication.sh:/docker-entrypoint-initdb.d/10-init-replication.sh:ro
command: >
postgres
-c config_file=/etc/postgresql/postgresql.conf
-c hba_file=/etc/postgresql/pg_hba.conf
networks:
- dokploy-network
networks:
dokploy-network:
external: true
name: dokploy-network