Files

29 lines
759 B
YAML
Raw Permalink Normal View History

2026-06-01 22:08:43 +03:30
name: asaditools # Lock project name — prevents runner workspace from overriding it
services:
asadi-tools:
build:
context: .
dockerfile: Dockerfile
container_name: asadi-tools
restart: unless-stopped
ports:
- "4310:4310"
2026-06-01 22:08:43 +03:30
volumes:
# SQLite database persisted on host
- asadi_data:/app/data
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ConnectionStrings__Default=Data Source=/app/data/asadi.db
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:4310/ || exit 1"]
2026-06-01 22:08:43 +03:30
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
volumes:
asadi_data:
# Stores both asadi.db (SQLite) and keys/ (DataProtection) under /app/data
driver: local