mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-24 20:06:55 +01:00
22 lines
484 B
YAML
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:
|