-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.sample
More file actions
70 lines (49 loc) · 1.97 KB
/
Copy pathenv.sample
File metadata and controls
70 lines (49 loc) · 1.97 KB
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
#####################################
# Application environment variables #
#####################################
# This MUST be set to production when you deploy
APP_ENVIRONMENT=development
# This MUST be a random string, cryptographically secure
APP_SECRET_KEY=change-me
# Must be the (sub)domain which will serve taust
APP_HOST=localhost
# Can be deleted/commented in production, it’ll default to 443. Remember that
# production MUST be served over HTTPS.
APP_PORT=8000
##################################
# Database environment variables #
##################################
# It should probably be "localhost" if you host the DB on the same server
DB_HOST=database
# Default port of PostgreSQL is 5432, adapt to your needs
DB_PORT=5432
# Username of the DB user (who must have database creation permissions)
DB_USERNAME=postgres
# Password of the DB user
DB_PASSWORD=postgres
###############################
# SMTP environement variables #
###############################
# It can be set either to `smtp` (to send emails via a server) or `mail` (to
# use the built-in PHP command)
APP_MAILER=smtp
# It’s the email that will send the transactional emails to the users
SMTP_FROM=noreply@example.com
# /!\ /!\ /!\
# Note: the next lines can be commented if you’ve set `APP_MAILER` to `mail`
# The domain used in the `Message-ID` header (usually the domain part of `SMTP_FROM`)
SMTP_DOMAIN=example.com
# The email server hostname listening for SMTP
SMTP_HOST=smtp.example.com
# The email server port listening for SMTP, it’s often `465` (TLS) or `587` (STARTTLS)
SMTP_PORT=587
# The value is most probably `true` unless you know what you’re doing
SMTP_AUTH=true
# Valid values are 'CRAM-MD5', 'LOGIN', 'PLAIN', 'XOAUTH2' (and is often `LOGIN`)
SMTP_AUTH_TYPE=LOGIN
# The SMTP username for the `SMTP_FROM` address
SMTP_USERNAME=noreply
# The SMTP password for the `SMTP_FROM` address
SMTP_PASSWORD=secret
# It is either `ssl` or `tls`, depending on the port you chose earlier
SMTP_SECURE=tls