# Copy to infrastructure/.env on the Linux server (not committed).
# docker compose -f docker-compose.prod.yml --env-file .env ...

DOMAIN=nudentic.ir

# Gitea Container Registry (tag auto-deploy). Same packages Windows CI pushes
# via host.docker.internal:3000 — Linux pulls via this hostname.
# Format: <host>:<port>/<owner>  — no http://
REGISTRY_PREFIX=wixur.ir:3000/admin

# Image tag — CI sets this per release (v1.0.1). Do not use latest for Gitea prod
# (staging already owns :latest with the wixur.ir frontend bake).
TAG=v1.0.1

# Hub-only fallback: comment out REGISTRY_PREFIX and use:
# REGISTRY_PREFIX=dyolink
# TAG=latest
DOCKER_USERNAME=dyolink

# Let's Encrypt — certificate issuance and renewal notices
LETSENCRYPT_EMAIL=rameen.naghdi@gmail.com

# Optional: extra hostnames on the same cert (space-separated)
# CERTBOT_EXTRA_DOMAINS=www.nudentic.ir

# Optional: use Let's Encrypt staging while testing (avoids rate limits)
# LETSENCRYPT_STAGING=1

# Folder with database.env and backend.env (absolute path on server recommended)
DEPLOY_SECRETS_DIR=/opt/dyolink/secrets
