-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathenv.sample
124 lines (90 loc) · 3.91 KB
/
env.sample
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#####################################
# Application environment variables #
#####################################
# This MUST be set to production when you deploy
APP_ENVIRONMENT=development
# You can generate a key with `php cli --request /system/secret`
APP_SECRET_KEY=change-me
# Must be set to an email that you manage (used to create default user and to
# send email to the support)
# Must be the (sub)domain which will serve flusio
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
# The next line can be uncommented and be set if you plan to serve flusio on a
# subpath.
# APP_PATH=/
# You can uncomment and change the path for the data. Default is the data
# directory presents in the current directory.
# APP_DATA_PATH=/path/to/data
# You can uncomment and change the path for the cache. Default is the cache
# directory presents in the current directory.
# APP_CACHE_PATH=/path/to/cache
# You can uncomment and change the path for the media files. Default is the
# media directory presents in the public/ directory. If you change this value,
# make sure the /media URL path is correctly served by your Web server.
# APP_MEDIA_PATH=/path/to/media
##################################
# Database environment variables #
##################################
# It should probably be "localhost" if you host the DB on the same server
DB_HOST=database
# You can uncomment the following and set the value to the database name that
# you want. Default value is flusio_production in production. This has no
# effect in development or test.
# DB_NAME=flusio_production
# 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
# /!\ /!\ /!\
# 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
###############################
# Misc environement variables #
###############################
# Set the brand name of your instance if you don't want to use the generic
# "flusio" term
# APP_BRAND=My brand
# Uncomment the next line to close registrations on your instance
# APP_OPEN_REGISTRATIONS=false
# Set to configure Pocket API in order to enable importations
# APP_POCKET_CONSUMER_KEY=
# This shows a banner to warn users the data are reset each night and suggest
# demo account credentials
# APP_DEMO=true
# These two variables enable the subscriptions mechanism. It's very likely you
# will not have to set them since it's designed for the service at https://flus.fr
# only.
# APP_SUBSCRIPTIONS_HOST=https://some.host
# APP_SUBSCRIPTIONS_PRIVATE_KEY=some-secret-key
# Note the commands feedback are not translated. It can be used to choose the
# locale of a user created via the CLI or seeds for instance.
# CLI_LOCALE=fr_FR