# Production deployment settings for docker-compose.yml

ASPNETCORE_ENVIRONMENT=Production
ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
ALLOWED_HOSTS=*
USE_HTTPS_REDIRECTION=false

# Persistent Couchbase Lite database mount
WORKTRACKER_DATA_PATH=/mnt/storage/data/worktracker/db
COUCHBASELITE_DATABASE_NAME=worktracker

# Published app port
WORKTRACKER_PORT=8003

# Image reference used by Docker Compose
IMAGE_REGISTRY=forgejo.maddoscientisto.net/maddo/worktracker
IMAGE_TAG=latest

# Built-in authentication
APPAUTH_ENABLED=false
APPAUTH_DEFAULT_USERNAME=Admin
APPAUTH_DEFAULT_USERID=ADMIN
SINGLEUSER_SEED_ON_STARTUP=true
SINGLEUSER_USERNAME=admin
SINGLEUSER_PASSWORD=disagio

# Container healthcheck tuning
WORKTRACKER_HEALTHCHECK_INTERVAL=30s
WORKTRACKER_HEALTHCHECK_TIMEOUT=5s
WORKTRACKER_HEALTHCHECK_START_PERIOD=10s
WORKTRACKER_HEALTHCHECK_RETRIES=3