1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00
bonfire_ynh/conf/.env

85 lines
2.3 KiB
Bash
Raw Normal View History

2023-04-30 15:10:42 +02:00
MIX_ENV=prod
FLAVOUR=classic
2023-08-13 13:28:41 +02:00
WITH_DOCKER=no
## OTHER CONFIG ##
# server domain name:
2023-04-30 15:21:49 +02:00
HOSTNAME=__DOMAIN__
2023-08-13 13:28:41 +02:00
# server port:
SERVER_PORT=__PORT__
# port your visitors will access (typically 80 or 443, will be different than SERVER_PORT only if using a reverse proxy)
PUBLIC_PORT=443
# hostname and port of meili search index
SEARCH_MEILI_INSTANCE=http://localhost:7700
# require an email address to be invited before being able to sign up
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)
2024-01-21 15:18:43 +01:00
UPLOAD_LIMIT=__MEDIA_UPLOAD_SIZE__
2023-08-13 13:28:41 +02:00
# ====================================
# You should not have to edit any of the following ones:
POSTGRES_HOST=localhost
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
REPLACE_OS_VARS=true
LIVEVIEW_ENABLED=true
2023-08-15 10:25:59 +02:00
POSTGRES_USER=__APP__
2023-08-14 15:00:22 +02:00
POSTGRES_DB=__APP__
2023-08-13 13:28:41 +02:00
ACME_AGREE=true
SHOW_DEBUG_IN_DEV=true
# PLUG_SERVER=bandit
## SECRETS ##
# make sure you change everything to your own secrets!
# and do not check this into git or any public host
2023-04-30 15:21:49 +02:00
2023-08-13 13:28:41 +02:00
# for sessions/cookies, you can generate strings for these by running: just secrets
2023-04-30 15:21:49 +02:00
SECRET_KEY_BASE=__SECRET_KEY_BASE__
SIGNING_SALT=__SIGNING_SALT__
ENCRYPTION_SALT=__ENCRYPTION_SALT__
2023-08-13 13:28:41 +02:00
# database access
2023-08-14 15:00:22 +02:00
POSTGRES_PASSWORD=__DB_PWD__
2023-08-13 13:28:41 +02:00
# password for the search index
2023-08-14 15:00:22 +02:00
MEILI_MASTER_KEY=__MEILI_MASTER_KEY__
2023-08-13 13:28:41 +02:00
2024-01-21 16:17:20 +01:00
# what service to use for sending out emails (eg. smtp, mailgun, none) NOTE: you should also set the corresponding keys in secrets section
MAIL_BACKEND=smtp
2023-08-13 13:28:41 +02:00
MAIL_DOMAIN=__DOMAIN__
2024-01-21 16:17:20 +01:00
MAIL_PASSWORD=__MAIL_PWD__
MAIL_USER=__APP__
MAIL_SERVER=__DOMAIN__
MAIL_PORT=587
2023-04-30 15:21:49 +02:00
# TODO : Configure S3 - with proper Yunohost question during installation
2023-08-13 13:28:41 +02:00
# Uploads
# UPLOADS_S3_BUCKET=
# UPLOADS_S3_ACCESS_KEY_ID=
# UPLOADS_S3_SECRET_ACCESS_KEY=
2023-04-30 15:21:49 +02:00
2023-08-13 13:28:41 +02:00
# telemetry API keys
# SENTRY_DSN=
OTEL_ENABLED=0
# OTEL_HONEYCOMB_API_KEY=
# OTEL_LIGHTSEP_API_KEY=
2023-05-02 12:33:33 +02:00
2023-08-13 13:28:41 +02:00
# default admin user if you generate seed data
SEEDS_USER=root
# backend stuff
ERLANG_COOKIE=bonfire_cookie
# Bonfire extensions configs
WEB_PUSH_SUBJECT=mailto:__APP__@__DOMAIN__
WEB_PUSH_PUBLIC_KEY=
WEB_PUSH_PRIVATE_KEY=
GEOLOCATE_OPENCAGEDATA=
MAPBOX_API_KEY=pk.eyJ1IjoibWF5ZWwiLCJhIjoiY2tlMmxzNXF5MGFpaDJ0bzR2M29id2EzOCJ9.QsmjD-zypsE0_wonLGCYlA
GITHUB_TOKEN=
TX_TOKEN=
## END OF SECRETS ##