-
Notifications
You must be signed in to change notification settings - Fork 49
/
.env.defaults
77 lines (58 loc) · 1.88 KB
/
.env.defaults
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
# TCP port to run on
PORT=8531
# HTTP Server's keep-alive timout
# If using a Load Balancer ensure this is greater than
# the Load Balancer's idle timeout to avoid potential race conditions.
KEEP_ALIVE_TIMEOUT_MS=
# Public URL. This must be the URL that users will use to access a12nserver.
# If this is not provided or incorrect, this will result in the server not
# functioning correctly.
CURVEBALL_ORIGIN="http://localhost:8531/"
# If the server is running behind a proxy that supports `X-Forwarded-For`, you
# can set CURVEBALL_TRUSTPROXY to "1" to get better reporting of ip addresses
# and countries.
# CURVEBALL_TRUSTPROXY=1
# Database settings
# a12n-server supports multiple databases servers.
# to configure it, use one of the following sections
# MySQL database settings
# DB_DRIVER=mysql
# DB_HOST=127.0.0.1
# DB_PASSWORD=password
# DB_USER=a12nserver
# DB_DATABASE=a12nserver
# Postgres database settings
#
# DB_DRIVER=postgres
# DB_HOST=127.0.0.1
# DB_PASSWORD='password
# DB_USER=a12nserver
# DB_DATABASE=a12nserver
# Sqlite database settings
# DB_DRIVER=sqlite3
# DB_FILENAME=a12nserver.sqlite3
# Email settings
#
# These settings are optional, but if they are not provided certain features
# such as 'lost password' will not work.
# Should be in the format smtp://username:[email protected]
SMTP_URL=
# Email address that should be used as the FROM address
SMTP_EMAIL_FROM=
# Allow new users to register?
REGISTRATION_ENABLED=1
# Redis settings
#
# Using Redis is a must if you paln on running multiple load-balanced
# instances of a12n-server
# REDIS_URI=redis://localhost
# OAuth2 settings
#
# All of these settings have reasonable defaults, and can also be set in the
# database.
# OAUTH2_ACCESSTOKEN_EXPIRY=600
# OAUTH2_REFRESHTOKEN_EXPIRY=21600
# OAUTH2_CODE_EXPIRY=600
# If set, the server will generate JWT for access tokens. This must be a RSA
# private key
# JWT_PRIVATE_KEY=