This commit is contained in:
olehhapuk
2026-12-01 12:12:13 +02:00
parent 6698ce32c7
commit ebf6ec2e39
67 changed files with 7317 additions and 1261 deletions
+24
View File
@@ -0,0 +1,24 @@
# Local development
# docker compose -f docker-compose.local.yml up -d
name: electro4ort-local
services:
postgres:
image: postgres:19-alpine
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-electro4ort}
ports:
- "127.0.0.1:${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres-data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", 'pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB"']
interval: 5s
timeout: 5s
retries: 10
volumes:
postgres-data: