-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env.example
100 lines (80 loc) · 3.91 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# This is the ConedaKOR configuration file. Please use absolute paths.
# This is the root url where your application is hosted. This might differ from
# the detected root url (e.g. behind proxies). Also we need this to generate
# working urls from within cmd tasks
ROOT_URL="https://kor.example.com"
# Set the database connection string. Only the mysql2 adapter is supported.
DATABASE_URL="mysql2://root:root@127.0.0.1:3306/kor?encoding=utf8&collation=utf8_general_ci&reconnect=true"
# Set the location where kor will save files to such as uploaded media
DATA_DIR="/var/kor/data"
# This is used to sign the cookies. You MUST change this to a truly secret
# value. You may generate one with `pwgen 64 1`, for example.
SECRET_KEY_BASE=eiNg8ovomi6eeT5aixa6Uz6aj8rop4wahdaeb2ohvoTh5hae4meis2egho3Beilu
# Sets the mail delivery method. Possible options are "smtp" and "sendmail" and
# "test". The default "sendmail" might very well work out of the box.
MAIL_DELIVERY_METHOD="sendmail"
# Specifiy sendmail options
MAIL_SENDMAIL_LOCATION="/usr/sbin/sendmail"
MAIL_SENDMAIL_ARGUMENTS="-i -t"
# OPTIONAL
# all other settings are optional and only required if your setup is somewhat
# special or if you want to make use of additional functionality.
# Set the elasticsearch url and index. If none is available, set to ""
#ELASTIC_URL="http://127.0.0.1:9200"
#ELASTIC_INDEX="kor"
# Specify SMTP options
#MAIL_SMTP_ADDRESS="smtp.example.com"
#MAIL_SMTP_PORT="25"
#MAIL_SMTP_DOMAIN="example.com"
#MAIL_SMTP_USER_NAME="jdoe"
#MAIL_SMTP_PASSWORD="secret"
#MAIL_SMTP_AUTHENTICATION="plain" # Possible options: "plain", "login", "cram_md5"
#MAIL_SMTP_ENABLE_STARTTLS_AUTO="true"
# Possible options: "none", "peer", "client_once", "fail_if_no_peer_cert"
#MAIL_SMTP_OPENSSL_VERIFY_MODE="none"
# Specify a space separated list of allowed origins (CORS)
#CORS_ALLOWED_ORIGINS="localhost:8000"
# Send exception notifications
#NOTIFY_EXCEPTIONS="dev-team@example.com"
#NOTIFY_SENDER="admin@example.com"
# Set a space separated list of authentication sources. Each source can then be
# configured with variables named AUTH_SOURCE_MYAUTH_*
# AUTH_SOURCES="myauth myotherauth"
# When updating existing users with new information from the authentication
# sources, do not fail authentication if there are errors updating the record
# (such as a username duplicate)
#AUTH_FAIL_ON_UPDATE_ERRORS="false"
# An example for environment authentication via Apache's REMOTE_USER
# The type of authentication, Possible values "env" and "script"
#AUTH_SOURCE_MYAUTH_TYPE="env"
# Use this environment variable to calculate the username (space separated list)
#AUTH_SOURCE_MYAUTH_USER="REMOTE_USER"
# Attach this to the REMOTE_USER to calculate the email address (space separated
# list)
#AUTH_SOURCE_MYAUTH_DOMAIN="example.com"
# Use this as new user's mail address (supersedes domain setting, space
# separated list)
#AUTH_SOURCE_MYAUTH_MAIL="mail"
# Use this environment variable to calculate the full name (space separated
# list)
#AUTH_SOURCE_MYAUTH_FULL_NAME="full_name"
# Sometimes, the environment variables have to be split to make sense. In this
# case, use this splitter
#AUTH_SOURCE_MYAUTH_SPLITTER="[,;]+"
# When creating new users, add this parent user to inherit permissions from
#AUTH_SOURCE_MYAUTH_MAP_TO="ldap"
# An example to use an environment script
# The type of authentication, Possible values "env" and "script"
#AUTH_SOURCE_MYOTHERAUTH_TYPE="script"
# The path to the auth script
#AUTH_SOURCE_MYOTHERAUTH_SCRIPT="/path/to/ldap_auth.sh"
# When creating new users, add this parent user to inherit permissions from
#AUTH_SOURCE_MYOTHERAUTH_MAP_TO="ldap_user"
# This controls if media is to be shown in development
#SHOW_MEDIA=true
# Serve static assets with the ruby processes. Normally, this is done by some
# web server software like apache.
#RAILS_SERVE_STATIC_FILES=true
# Set a universal password that allows login with all users (don't use in
# production)
#KOR_UNIVERSAL_PASSWORD="secret"