74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
# Django Configuration
|
|
DEBUG=0
|
|
ALLOWED_HOSTS=map.ojuso.org
|
|
DATABASE_HOST=db
|
|
DATABASE_NAME=postgres
|
|
DATABASE_PASSWORD=${DATABASE_PASSWORD}
|
|
DEFAULT_FROM_EMAIL=admin@ojuso.org
|
|
EMAIL_HOST=mail.gandi.net
|
|
EMAIL_HOST_USER=admin@ojuso.org
|
|
EMAIL_HOST_PASSWORD=${SMTP_PASSWORD}
|
|
EMAIL_PORT=587
|
|
EMAIL_USE_TLS=1
|
|
SECRET_KEY=${SECRET_KEY}
|
|
SERVER_EMAIL=Ojuso Platform Notification <admin@ojuso.org>
|
|
|
|
# Postgres Database Setup
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=${DATABASE_PASSWORD}
|
|
|
|
# Discourse Configuration
|
|
DISCOURSE_DB_SOCKET=/var/run/postgresql
|
|
DISCOURSE_DEVELOPER_EMAILS=admin@ojuso.org
|
|
DISCOURSE_HOSTNAME=forum.ojuso.org
|
|
DISCOURSE_SMTP_ADDRESS=mail.gandi.net
|
|
DISCOURSE_SMTP_PASSWORD=${SMTP_PASSWORD}
|
|
DISCOURSE_SMTP_PORT=587
|
|
DISCOURSE_SMTP_USER_NAME=admin@ojuso.org
|
|
DOCKER_HOST_IP=172.17.0.1
|
|
LANG=en_US.UTF-8
|
|
RAILS_ENV=production
|
|
RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000
|
|
RUBY_GC_HEAP_INIT_SLOTS=400000
|
|
RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5
|
|
RUBY_GLOBAL_METHOD_CACHE_SIZE=131072
|
|
UNICORN_SIDEKIQS=1
|
|
UNICORN_WORKERS=4
|
|
|
|
# Weblate setup
|
|
WEBLATE_DEBUG=0
|
|
WEBLATE_LOGLEVEL=DEBUG
|
|
WEBLATE_SITE_TITLE=Ojuso Weblate
|
|
WEBLATE_ADMIN_NAME=Weblate Admin
|
|
WEBLATE_ADMIN_EMAIL=admin@ojuso.org
|
|
WEBLATE_ADMIN_PASSWORD=${WEBLATE_ADMIN_PASSWORD}
|
|
WEBLATE_SERVER_EMAIL=noreply@ojuso.org
|
|
WEBLATE_DEFAULT_FROM_EMAIL=noreply@ojuso.org
|
|
WEBLATE_ALLOWED_HOSTS=*
|
|
WEBLATE_REGISTRATION_OPEN=1
|
|
WEBLATE_GITHUB_USERNAME=livmackintosh
|
|
|
|
# Extra
|
|
#WEBLATE_TIME_ZONE=
|
|
#WEBLATE_MT_GOOGLE_KEY=
|
|
#WEBLATE_SOCIAL_AUTH_GITHUB_KEY=
|
|
#WEBLATE_SOCIAL_AUTH_GITHUB_SECRET=
|
|
#WEBLATE_SOCIAL_AUTH_BITBUCKET_KEY=
|
|
#WEBLATE_SOCIAL_AUTH_BITBUCKET_SECRET=
|
|
#WEBLATE_SOCIAL_AUTH_FACEBOOK_KEY=
|
|
#WEBLATE_SOCIAL_AUTH_FACEBOOK_SECRET=
|
|
#WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=
|
|
#WEBLATE_SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=
|
|
|
|
#WEBLATE_OFFLOAD_INDEXING=1
|
|
#WEBLATE_GOOGLE_ANALYTICS_ID=
|
|
#WEBLATE_ENABLE_HTTPS=1
|
|
#WEBLATE_REQUIRE_LOGIN=1
|
|
|
|
# Mail server, the server has to listen on port 587 and understand TLS
|
|
WEBLATE_EMAIL_HOST=mail.gandi.net
|
|
# Do NOT use quotes here
|
|
WEBLATE_EMAIL_USER=admin@ojuso.org
|
|
# Do NOT use quotes here
|
|
WEBLATE_EMAIL_PASSWORD=${SMTP_PASSWORD}
|