Files

33 lines
953 B
YAML
Raw Permalink Normal View History

# Descrybe v2 — Postgres only (one Compose file, any OS).
#
# docker compose up -d # or: npm run setup / make up
# Host DSN: postgres://descrybe:descrybe@localhost:5433/descrybe?sslmode=disable
#
# API, web, and worker run on the host (Compose stays Postgres-only):
# npm run setup && npm install && npm run dev
# # or API+worker only (readyz): npm run dev:backend
# (see README). Windows / macOS / Linux Docker notes: docs/docker.md
name: descrybe-v2
services:
postgres:
image: postgres:16-alpine
container_name: descrybe-v2-postgres
environment:
POSTGRES_USER: descrybe
POSTGRES_PASSWORD: descrybe
POSTGRES_DB: descrybe
ports:
- "5433:5432"
volumes:
- descrybe_v2_pg:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U descrybe -d descrybe"]
interval: 5s
timeout: 5s
retries: 10
start_period: 5s
volumes:
descrybe_v2_pg: