Files
KIBU/compose.yaml
T

21 lines
483 B
YAML

name: kibu
services:
db:
image: postgres:17-alpine
environment:
POSTGRES_DB: kibu
POSTGRES_USER: kibu
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Run npm run configure first}
ports:
- "127.0.0.1:55432:5432"
volumes:
- kibu_postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U kibu -d kibu"]
interval: 3s
timeout: 3s
retries: 20
restart: unless-stopped
volumes:
kibu_postgres: