delpoyment with fully dockerized project on wixur.ir, dyolink docker hub created beside backend and frontend image is uploaded.

This commit is contained in:
2026-07-07 15:32:25 +03:30
parent e00af9f5be
commit 329d3f122c
28 changed files with 877 additions and 44 deletions

View File

@@ -0,0 +1,18 @@
# Copy to infrastructure/.env on the server (not committed).
# docker compose -f docker-compose.prod.yml --env-file .env ...
DOMAIN=wixur.ir
DOCKER_USERNAME=dyolink
TAG=latest
# Let's Encrypt — certificate issuance and renewal notices
LETSENCRYPT_EMAIL=rameen.naghdi@gmail.com
# Optional: extra hostnames on the same cert (space-separated), e.g. www.wixur.ir
# CERTBOT_EXTRA_DOMAINS=www.wixur.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