-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.dist
77 lines (52 loc) · 1.83 KB
/
.env.dist
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
# Default environment variables
# =============================
#
# The application is configured through the environment variables listed in this
# file. The default values provided here can be overridden by copying this file
# to `.env` and changing the values.
#
# Any values set in actual environment variables take precedence over the values
# set in `.env` and `.env.dist`.
# Log levels
# ----------
#
# By default we enable full logging on the application, as well as info messages
# from the web framework.
RUST_LOG=actix_server=info,actix_web=info,app=debug,cli=debug,db=debug,notifications=debug,web=debug
# Web application
# ---------------
# The application host.
HOST=127.0.0.1
# The application port.
PORT=8088
# The session key, 32 8-bit integers used as a seed to generate session IDs.
SESSION_KEY=
# Database
# --------
# The database connection.
DATABASE_URL=postgres://username:password@localhost/firetrack
# Password hashing
# ----------------
# The secret key used in password hashing.
SECRET_KEY=
# The amount of memory to use for password hashing, in kibibytes.
HASHER_MEMORY_SIZE=4096
# The number of password hashing iterations to perform.
HASHER_ITERATIONS=192
# Data sources
# ------------
# The path to the JSON file with default categories to assign to a new user.
DEFAULT_CATEGORIES_JSON_PATH=resources/default-categories.json
# Mailgun
# -------
# The API endpoint.
MAILGUN_API_ENDPOINT=https://api.mailgun.net/v3
# The API key.
MAILGUN_API_KEY=0123456789abcdef0123456789abcdef-01234567-89abcdef
# The Mailgun domain to use for sending notifications.
# Ref. https://app.mailgun.com/app/sending/domains
MAILGUN_USER_DOMAIN=sandbox0123456789abcdef0123456789abcdef.mailgun.org
# The sender name to use in notifications.
MAILGUN_USER_NAME=postmaster
# The port to use for the mock server.
MAILGUN_MOCK_SERVER_PORT=8089