Files
dyolink/infrastructure/deploy.prod.env.example
rameen 573e5e0886
All checks were successful
Production — tag build, push, deploy / build-and-push (push) Successful in 4m23s
Production — tag build, push, deploy / deploy (push) Successful in 11m52s
auto deploy on production server now finalized ready for smoke test.
2026-08-29 16:25:27 +03:30

31 lines
1.1 KiB
Plaintext

# 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