# .env.deploy.example — Deploy / connection config for this studio # Author: Dr Hamid MADANI # # Copy this file to .env.deploy and edit the values for your server. # `deploy.sh`, `install.sh`, `update.sh` and `apache/vhost.template.conf` # all read from .env.deploy. # # cp .env.deploy.example .env.deploy # $EDITOR .env.deploy # ./deploy.sh # # .env.deploy is gitignored — never commit it. # ── SSH target ───────────────────────────────────────────────────────────── # Either a SSH alias (configured in ~/.ssh/config) or `user@host`/`user@ip`. # Examples : prod-server | ubuntu@203.0.113.42 | admin@example.com DEPLOY_SSH=user@your-server.example.com # ── Remote install dir ───────────────────────────────────────────────────── # Where the studio will be deployed on the remote host. DEPLOY_REMOTE_DIR=/var/www/media-studio # ── Public domain ────────────────────────────────────────────────────────── # Used by Apache vhost + certbot. DNS A record for this name must already # point to your server's public IP (no AAAA unless you have IPv6). DEPLOY_DOMAIN=media.example.com # ── Let's Encrypt contact email ──────────────────────────────────────────── # Used for cert expiry notifications. DEPLOY_EMAIL=admin@example.com # ── Local Next.js port ───────────────────────────────────────────────────── # Apache reverse-proxies https://${DEPLOY_DOMAIN}/ → http://127.0.0.1:${DEPLOY_PORT}/ DEPLOY_PORT=4499