feat: add postgres

This commit is contained in:
2025-09-24 21:16:35 +02:00
parent 8b27219af5
commit fc190a12d4
13 changed files with 1152 additions and 19 deletions

View File

@@ -7,3 +7,18 @@ services:
- "4222:4222" # Client connections
- "8222:8222" # HTTP monitoring
- "6222:6222" # Clustering
postgres:
image: postgres:17-alpine
environment:
POSTGRES_USER: devuser
POSTGRES_PASSWORD: devpassword
POSTGRES_DB: dev
shm_size: 128mb
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U devuser -d dev"]
interval: 5s
timeout: 5s
retries: 5