chore: add dev postgres via docker compose (verification deferred -- docker not installed)

This commit is contained in:
2026-04-28 13:21:38 +08:00
parent 14765eac25
commit c5071d93eb
+21
View File
@@ -0,0 +1,21 @@
services:
postgres:
image: postgres:16-alpine
container_name: acw-postgres-dev
restart: unless-stopped
environment:
POSTGRES_USER: acw
POSTGRES_PASSWORD: acw
POSTGRES_DB: acw
ports:
- "5432:5432"
volumes:
- acw-pg-dev:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U acw"]
interval: 5s
timeout: 5s
retries: 5
volumes:
acw-pg-dev: