Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
21 lines
483 B
YAML
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:
|