25 lines
1.2 KiB
Bash
25 lines
1.2 KiB
Bash
# Copy to scripts/deploy.production.env (or deploy.staging.env) and fill in. These files are not committed.
|
||
|
||
# SSH access (Strato: Kundenlogin › Datenbanken und Webspace › SFTP & SSH › Details › "Server", e.g. 12345678.ssh.w1.strato.hosting)
|
||
DEPLOY_HOST=12345678.ssh.w1.strato.hosting
|
||
DEPLOY_USER=stu123456789
|
||
DEPLOY_PORT=22
|
||
# Optional: private key file (otherwise the SSH agent / default key is used)
|
||
# DEPLOY_SSH_KEY=~/.ssh/strato_fewo
|
||
|
||
# Folder below the SSH start directory. The domain's target directory must be <DEPLOY_PATH>/current/public.
|
||
DEPLOY_PATH=fewo-production
|
||
|
||
# PHP CLI on Strato shared hosting: /opt/RZphp<major><minor>/bin/php-cli (check with: ls /opt)
|
||
DEPLOY_PHP=/opt/RZphp84/bin/php-cli
|
||
|
||
# Public address for the health check after switching (empty = no check, no automatic rollback)
|
||
DEPLOY_URL=https://www.fewo-stommer.de
|
||
|
||
# After a successful deployment, tag the commit as deploy/<environment>/<timestamp> and push the tag to Gitea
|
||
# (the server keeps only the active release; going back = deploy an older tag). 0 = no tags.
|
||
DEPLOY_TAG=1
|
||
|
||
# Local build: how Composer is called (Windows example: "php /c/path/to/composer.phar")
|
||
# COMPOSER_BIN=composer
|