1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-24 20:06:55 +01:00
unleash.unleash/docker-compose.postgres.yml
Simon Hornby c5f0b50b30
chore: slightly simpler quick start setup (#10933)
Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2025-11-11 17:10:27 +02:00

22 lines
484 B
YAML

services:
unleash-postgres:
build:
context: ./docker/local-postgres
container_name: unleash-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
ports:
- "5432:5432"
volumes:
- unleash-postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 12
volumes:
unleash-postgres-data: