rage-framework-example/apps/server/docker-compose.yml
2025-04-17 18:30:09 +03:00

20 lines
417 B
YAML

services:
database:
image: postgres:17
ports:
- "5432:5432"
healthcheck:
test:
[ "CMD", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}" ]
interval: 5s
timeout: 10s
retries: 5
environment:
- POSTGRES_PASSWORD
- POSTGRES_USER
- POSTGRES_DB
volumes:
- rage_fw_db_data:/var/lib/postgresql/data
volumes:
rage_fw_db_data: