local dev stuff

This commit is contained in:
2026-03-09 16:56:58 +01:00
parent 627628f36c
commit b27db93a90
3 changed files with 64 additions and 0 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
postgres:
image: postgres:18
restart: unless-stopped
environment:
POSTGRES_DB: campaign_manager
POSTGRES_USER: campaign_manager
POSTGRES_PASSWORD: devpassword
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U campaign_manager"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data: