80 lines
2.5 KiB
Django/Jinja
80 lines
2.5 KiB
Django/Jinja
# Copy this file to .env, remove this comment and change the keys. For development
|
|
# with docker this should mostly work out of the box other than setting the Slack
|
|
# keys (for auth) and the SECRET_KEY.
|
|
#
|
|
# Please use `openssl rand -hex 32` to create SECRET_KEY
|
|
SECRET_KEY=generate_a_new_key
|
|
UTILS_SECRET=generate_a_new_key
|
|
|
|
DATABASE_URL=postgres://{{ outline_db_user }}:{{ outline_db_password }}@postgres:5432/{{ outline_db }}
|
|
DATABASE_URL_TEST=postgres://{{ outline_db_user }}:{{ outline_db_password }}@wk-postgres:5432/{{ outline_db }}_test
|
|
REDIS_URL=redis://redis:6379
|
|
|
|
# Must point to the publicly accessible URL for the installation
|
|
URL={{ outline_url }}
|
|
PORT=3000
|
|
|
|
# Optional. If using a Cloudfront distribution or similar the origin server
|
|
# should be set to the same as URL.
|
|
CDN_URL={{ outline_cdn_url }}
|
|
|
|
# enforce (auto redirect to) https in production, (optional) default is true.
|
|
# set to false if your SSL is terminated at a loadbalancer, for example
|
|
FORCE_HTTPS=true
|
|
|
|
ENABLE_UPDATES=true
|
|
DEBUG=cache,presenters,events,emails,mailer,utils,multiplayer,server,services
|
|
|
|
# Third party signin credentials (at least one is required)
|
|
SLACK_KEY=get_a_key_from_slack
|
|
SLACK_SECRET=get_the_secret_of_above_key
|
|
|
|
# To configure Google auth, you'll need to create an OAuth Client ID at
|
|
# => https://console.cloud.google.com/apis/credentials
|
|
#
|
|
# When configuring the Client ID, add an Authorized redirect URI:
|
|
# https://<your Outline URL>/auth/google.callback
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
|
|
# Comma separated list of domains to be allowed (optional)
|
|
# If not set, all Google apps domains are allowed by default
|
|
GOOGLE_ALLOWED_DOMAINS=
|
|
|
|
# Third party credentials (optional)
|
|
SLACK_VERIFICATION_TOKEN=
|
|
SLACK_APP_ID=A0XXXXXXX
|
|
SLACK_MESSAGE_ACTIONS=true
|
|
GOOGLE_ANALYTICS_ID=
|
|
SENTRY_DSN=
|
|
|
|
# AWS credentials (optional in development)
|
|
AWS_ACCESS_KEY_ID=get_a_key_from_aws
|
|
AWS_SECRET_ACCESS_KEY=get_the_secret_of_above_key
|
|
AWS_REGION=xx-xxxx-x
|
|
AWS_S3_UPLOAD_BUCKET_URL=http://s3:4569
|
|
AWS_S3_UPLOAD_BUCKET_NAME=outline-bucket
|
|
AWS_S3_UPLOAD_MAX_SIZE=26214400
|
|
AWS_S3_FORCE_PATH_STYLE=true
|
|
# uploaded s3 objects permission level, default is private
|
|
# set to "public-read" to allow public access
|
|
AWS_S3_ACL=private
|
|
|
|
# Emails configuration (optional)
|
|
SMTP_HOST=
|
|
SMTP_PORT=
|
|
SMTP_USERNAME=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM_EMAIL=
|
|
SMTP_REPLY_EMAIL=
|
|
|
|
# Custom logo that displays on the authentication screen, scaled to height: 60px
|
|
# TEAM_LOGO=https://example.com/images/logo.png
|
|
|
|
# See translate.getoutline.com for a list of available language codes and their
|
|
# percentage translated.
|
|
DEFAULT_LANGUAGE=en_US
|
|
|
|
|
|
|