Files
GeoShare/docker-compose.yml
T
dmit.b fde96c0197 feat: add Swagger UI docs, custom CORS middleware, and request logging
- Add Swagger UI files and updated API spec for Family Safety Tracker
- Replace shelf_cors_headers with custom CORS middleware in server.dart
- Add request_logger middleware with timing for auth and geo routes
- Add REGISTRATION_SECRET_KEY to .env for registration validation
- Remove postgres port exposure from docker-compose.yml
- Update opencode.json model configuration
- Add crypto dependency and update Flutter web assets
2026-05-15 17:43:53 +03:00

34 lines
655 B
YAML

version: '3.8'
services:
db:
image: postgres:16-alpine
container_name: family_safety_db
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: family_safety
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
app:
build: .
container_name: family_safety_app
restart: unless-stopped
ports:
- "9090:9090"
depends_on:
db:
condition: service_healthy
volumes:
postgres_data: