-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
62 lines (45 loc) · 1.55 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
# PORT: should be the port of the server
PORT=3000
# DB_HOST: should be the host of the database
DB_HOST=localhost
# DB_PORT: should be the port of the database
DB_PORT=5432
# DB_USERNAME: should be the username of the database
DB_USERNAME=root
# DB_PASSWORD: should be the password of the database
DB_PASSWORD=password
# DB_NAME: should be the name of the database
DB_NAME=database
# ADMIN_USERNAME: should be a random string
ADMIN_USERNAME=admin
# ADMIN_PASSWORD: should be the password of the admin user
ADMIN_PASSWORD=password
# JWT_SECRET: should be a random string
JWT_SECRET=secret
# BASE_URL: should be the base URL of the server
BASE_URL=http://localhost:3000
# Mail settings
# Mail sender
MAIL_FROM=<[email protected]>
# If you want to send emails, choose either SMTP or Mailgun.
# In development, you can omit both and emails will be printed to the console.
# SMTP server host and credentials, if using direct SMTP.
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
SMTP_TLS=false
# Mailgun API key and domain, if using it.
MAILGUN_API_KEY=
MAILGUN_DOMAIN=
# Mailgun server to use (defaults to api.eu.mailgun.net)
MAILGUN_HOST=api.eu.mailgun.net
# Branding configuration
# Website strings (requires website rebuild)
BRANDING_HEADER_TITLE_TEXT=Vaalimasiina
BRANDING_FOOTER_HOME_TEXT=fyysikkokilta.fi
BRANDING_FOOTER_HOME_LINK=https://fyysikkokilta.fi
# Email strings
BRANDING_EMAIL_SUBJECT_PREFIX="Fyysikkokillan vaalit / Guild of Physics' elections"
BRANDING_MAIL_FOOTER_TEXT=Rakkaudella Fysistit
BRANDING_MAIL_FOOTER_LINK=https://vaalit.fyysikkokilta.fi