Files
tg-archive/docker-compose.dev.yml
T
Elias Wendland 5a5f817df7
CI and release / Detect release commit (push) Successful in 2m42s
CI and release / Run tests (push) Successful in 7m18s
CI and release / Build and publish container (push) Failing after 5m12s
CI and release / Create release (push) Skipped
Initial commit
2026-08-07 11:54:42 +02:00

23 lines
621 B
YAML

services:
postgres:
image: postgres:16-alpine
container_name: tg-archive-bot-postgres
restart: always
environment:
POSTGRES_USER: ${TG_BOT_POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${TG_BOT_POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${TG_BOT_POSTGRES_DB:-tg_archive_bot}
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER:-postgres} -d $${POSTGRES_DB:-tg_archive_bot}"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data:
driver: local