33 lines
674 B
YAML
33 lines
674 B
YAML
|
|
services:
|
|
|
|
postgres:
|
|
container_name: our-postgres
|
|
image: postgres:17
|
|
restart: unless-stopped
|
|
env_file: ./../../.env.development.local
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "postgres"]
|
|
interval: 10s
|
|
retries: 5
|
|
start_period: 10s
|
|
timeout: 10s
|
|
|
|
pgbackweb:
|
|
image: 'eduardolat/pgbackweb:latest'
|
|
ports:
|
|
- '8085:8085'
|
|
env_file: ./../../.env.development.local
|
|
volumes:
|
|
- ${HOME}/.local/share/futureporn/backups:/backups
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
|
|
|
|
volumes:
|
|
pgdata: |