6f20721e9e
- Dockerfile & docker-compose: EXPOSE/ports updated to 4310 - nginx.conf: new server blocks for abzarasadi.ir + www (SSL at /etc/ssl/abzarasadi/, proxies to 171.22.25.73:4310) - Also fixed broken www.soroushasadi.com markdown links in nginx.conf Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
759 B
YAML
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:
|
|
- "4310:4310"
|
|
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"]
|
|
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
|