mirror of
https://github.com/valitydev/epg_connector.git
synced 2024-11-06 00:05:21 +00:00
29 lines
622 B
YAML
29 lines
622 B
YAML
services:
|
|
|
|
postgres:
|
|
image: postgres:15-bookworm
|
|
environment:
|
|
POSTGRES_DB: "progressor_db"
|
|
POSTGRES_USER: "progressor"
|
|
POSTGRES_PASSWORD: "progressor"
|
|
PGDATA: "/tmp/postgresql/data/pgdata"
|
|
volumes:
|
|
- progressor-data:/tmp/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U progressor -d progressor_db"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 10s
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "1"
|
|
memory: 4G
|
|
|
|
volumes:
|
|
progressor-data:
|