Files
abzarasadi/docker-compose.yml
T
Soroush Asadi 07af5c28b1
CI/CD / CI — dotnet build (push) Successful in 43s
CI/CD / Deploy — docker compose (push) Failing after 1s
chore: change host port from 8080 → 3410 to avoid conflicts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 00:06:16 +03:30

29 lines
759 B
YAML

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:
- "3410:3410"
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:3410/ || exit 1"]
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