mirror of
https://git.straybits.ca/straybits/docker-samples.git
synced 2024-11-07 18:22:26 +00:00
38 lines
No EOL
923 B
Bash
38 lines
No EOL
923 B
Bash
FORGEJO_TAG=8
|
|
FORGEJO_RUNNER_TAG=4.0.1
|
|
|
|
# Tailscale authorization key
|
|
TS_AUTHKEY=tskey-auth-
|
|
|
|
# Tailscale tailnet node name
|
|
TAILNET_NAME=git
|
|
TAILNET_SUFFIX=XXXXXX.ts.net
|
|
|
|
# Instance Settings
|
|
APP_NAME="My Git Server"
|
|
FORGEJO_HOSTNAME=${TAILNET_NAME}.${TAILNET_SUFFIX}
|
|
DISABLE_REGISTRATION=true
|
|
|
|
# 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
|
|
RUNNER_NAME=runner
|
|
RUNNER_LABELS='[\"docker:docker://code.forgejo.org/oci/node:20-bookworm\", \"ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04\"]' |