bonfire/.env.sample

109 lines
3.2 KiB
Plaintext
Raw Normal View History

2022-03-08 22:24:27 +00:00
TYPE=bonfire
# choose what flavour of Bonfire to run
FLAVOUR=classic
2024-02-16 20:07:08 +00:00
# choose what extra services you want to run
#COMPOSE_FILE="compose.yml:compose.meilisearch.yml"
2023-07-31 19:03:54 +00:00
# Different flavours/forks or architectures may require different builds of bonfire:
# for ARM (manual build):
2024-04-01 17:57:17 +00:00
# APP_DOCKER_IMAGE=bonfirenetworks/bonfire:latest-${FLAVOUR}-aarch64
2024-02-16 20:07:08 +00:00
# for x86 (built by CI):
2023-07-31 19:03:54 +00:00
APP_DOCKER_IMAGE=bonfirenetworks/bonfire:latest-${FLAVOUR}-amd64
2023-08-01 13:31:58 +00:00
# multi-arch image (built by CI, but currently not working):
2023-07-31 19:03:54 +00:00
#APP_DOCKER_IMAGE=bonfirenetworks/bonfire:latest-${FLAVOUR}
2022-03-09 05:36:53 +00:00
2023-10-10 10:53:46 +00:00
# note that different flavours or architectures may require different postgres builds:
2024-04-01 18:50:32 +00:00
# For ARM or x86:
DB_DOCKER_IMAGE=ghcr.io/baosystems/postgis:12-3.3
2024-04-01 18:44:28 +00:00
# for x86:
2024-04-01 18:50:32 +00:00
# DB_DOCKER_IMAGE=postgis/postgis:12-3.3-alpine
2024-04-01 18:44:28 +00:00
# multiarch (but doesn't have required Postgis extension)
#DB_DOCKER_IMAGE=postgres:12-alpine
2022-03-08 22:24:27 +00:00
# enter your instance's domain name
2022-03-08 22:30:50 +00:00
DOMAIN=bonfire.example.com
# DO NOT CHANGE DOMAIN AFTER DEPLOYMENT! WILL BREAK FEDERATION!!
2022-03-08 22:24:27 +00:00
## Domain aliases
#EXTRA_DOMAINS=', `www.bonfire.example.com`'
# what service to use for sending out emails (eg. smtp, mailgun, none) NOTE: you should also set the corresponding keys in secrets.env
2024-02-16 20:07:08 +00:00
MAIL_BACKEND=none
2022-03-08 22:24:27 +00:00
# require an email address to be invited before being able to sign up? (true or false)
INVITE_ONLY=true
# uncomment in order to NOT automatically change the database schema when you upgrade the app
# DISABLE_DB_AUTOMIGRATION=true
# max file upload size - default is 20 meg
UPLOAD_LIMIT=20000000
2023-06-16 19:07:51 +00:00
DB_MEMORY_LIMIT=1000M
2022-03-30 03:38:17 +00:00
# how much info to include in logs (from less to more: emergency, alert, critical, error, warning, notice, info, debug)
LOG_LEVEL=info
2022-03-08 22:24:27 +00:00
# ====================================
# SECRETS
# please make sure you change everything to your own secrets!
# and do not check your env file into any public git repo
# change ALL the values:
# if `INVITE_ONLY` is true, what should be the secret code to sign up?
2024-02-16 20:07:08 +00:00
# INVITE_KEY=123
2022-03-08 22:24:27 +00:00
# signup to mailgun.com and edit with your domain and API key
2024-02-16 20:07:08 +00:00
# MAIL_DOMAIN=mgo.example.com
# MAIL_KEY=xyz
# MAIL_FROM=admin@example.com
2022-03-08 22:24:27 +00:00
2022-03-09 06:21:20 +00:00
# error reporting
2024-02-16 20:07:08 +00:00
# SENTRY_DSN=
2022-03-09 06:21:20 +00:00
2022-06-23 10:25:30 +00:00
# Store uploads in S3-compatible service
# UPLOADS_S3_BUCKET=
# UPLOADS_S3_ACCESS_KEY_ID=
# UPLOADS_S3_SECRET_ACCESS_KEY=
# UPLOADS_S3_REGION=fr-par
# UPLOADS_S3_HOST=s3.fr-par.scw.cloud
# UPLOADS_S3_SCHEME=https://
2022-07-12 03:26:22 +00:00
# UPLOADS_S3_URL=
2022-06-23 10:25:30 +00:00
2022-03-08 22:24:27 +00:00
# Bonfire extensions configs:
2024-02-16 20:07:08 +00:00
# WEB_PUSH_SUBJECT=mailto:admin@example.com
# WEB_PUSH_PUBLIC_KEY=xyz
# WEB_PUSH_PRIVATE_KEY=abc
# GEOLOCATE_OPENCAGEDATA=
# GITHUB_TOKEN=xyz
2022-03-08 22:24:27 +00:00
2024-04-01 17:57:17 +00:00
# ORCID_CLIENT_ID=
# ORCID_CLIENT_SECRET=
2022-03-08 22:24:27 +00:00
# ====================================
# these secrets will be autogenerated/managed by abra and docker"
2022-03-09 05:36:53 +00:00
SECRET_POSTGRES_PASSWORD_VERSION=v1
SECRET_MEILI_MASTER_KEY_VERSION=v1
SECRET_SEEDS_PW_VERSION=v1
SECRET_LIVEBOOK_PASSWORD_VERSION=v1
2022-03-30 03:38:17 +00:00
SECRET_SECRET_KEY_BASE_VERSION=v1 # length=128
SECRET_SIGNING_SALT_VERSION=v1 # length=128
SECRET_ENCRYPTION_SALT_VERSION=v1 # length=128
2022-03-08 22:24:27 +00:00
# ====================================
# You should not have to edit any of the following ones:
APP_NAME=Bonfire
LANG=en_US.UTF-8
SEEDS_USER=root
ERLANG_COOKIE=bonfire_cookie
REPLACE_OS_VARS=true
LIVEVIEW_ENABLED=true
ACME_AGREE=true
SHOW_DEBUG_IN_DEV=true
LETS_ENCRYPT_ENV=production
2022-03-09 02:38:39 +00:00
HOSTNAME=$DOMAIN
2023-06-16 19:07:51 +00:00
#PLUG_SERVER=bandit