docker-samples/forgejo_cloudflare/.env

37 lines
904 B
Bash
Raw Permalink Normal View History

FORGEJO_TAG=8
FORGEJO_RUNNER_TAG=4.0.1
# Instance Settings
APP_NAME="My Git Server"
FORGEJO_HOSTNAME=git.yourdomain.com
SSH_DOMAIN=git-ssh.yourdomain.com
DISABLE_REGISTRATION=true
ROOT_URL=https://${FORGEJO_HOSTNAME}
# Cloudflare Tunnel Token
TUNNEL_TOKEN= ##REQUIRED##
# Database
FORGEJO_DB_PASSWORD= ##REQUIRED##
# Mail
MAIL_ENABLED=true
MAIL_FROM='"Git Server" <noreply@mg.yourdomain.com>'
MAIL_SMTP_USER=forgejo@mg.yourdomain.com
MAIL_SMTP_PASSWD= ##REQUIRED##
MAIL_SMTP_PROTOCOL=smtps
MAIL_SMTP_ADDR=smtp.mailgun.org
MAIL_SMTP_PORT=465
# Initial user
ROOT_USER=admin
ROOT_EMAIL=admin@yourdomain.com
ROOT_PASSWORD= ##REQUIRED##
# Token for runner (generate with `openssl rand -hex 20`)
SHARED_SECRET= ##REQUIRED##
# Runner name / labels
2024-11-02 04:13:22 +00:00
RUNNER_NAME=runner
RUNNER_LABELS='[\"docker:docker://code.forgejo.org/oci/node:20-bookworm\", \"ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04\"]'