-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathenv.sample
112 lines (91 loc) · 4.44 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
# This file defines a list of environment variables used to configure Bileto.
# Please copy this file as .env.local and adapt to your needs to configure
# Bileto in production.
####################################
# Configuration of the application #
####################################
# Define the environment of the application. It can be: prod, dev, test
# Don't change this value unless you know what you do.
APP_ENV="prod"
# A secret used to generate security tokens, **it must be changed!**
# Generate a token with the command: php bin/console app:secret
APP_SECRET="change-me"
# The base URL that serves your application. It is used to generate URLs in
# non-HTTP contexts (i.e. from the command line).
APP_BASE_URL="https://support.example.org"
# The default locale to use when creating a user and that no locale is
# specified. This is useful especially when synchronizing with a LDAP server
# or when no locale can be specified.
# Must be either "en_GB" (default) or "fr_FR".
# APP_DEFAULT_LOCALE="fr_FR"
# The path to the upload directory.
# Default is var/uploads/ in the root directory.
# APP_UPLOADS_DIRECTORY="/path/to/uploads"
#################################
# Configuration of the database #
#################################
# URL to connect to the database.
# Uncomment one of the two following line (depending on your database) and
# adapt the credentials and the serverVersion.
# DATABASE_URL="postgresql://user:password@localhost:5432/bileto_production?serverVersion=13&charset=utf8"
# DATABASE_URL="mysql://user:password@localhost:3306/bileto_production?serverVersion=10.5.27-MariaDB"
########################################
# Configuration of the SMTP mailserver #
########################################
# Configure your mail server. It is used to send email notifications to the users.
# Uncomment both MAILER_* lines and set them to your needs.
# More documentation at https://symfony.com/doc/7.0/mailer.html (“Transport Setup”).
# MAILER_DSN="smtp://user:[email protected]:465"
# MAILER_FROM="[email protected]"
#####################################
# Configuration of the async system #
#####################################
# Configure the Symfony Messenger transport.
# You should not change this value unless you know what you're doing.
# More documentation at https://symfony.com/doc/current/messenger.html#transport-configuration
# MESSENGER_TRANSPORT_DSN="doctrine://default?auto_setup=0"
###########################
# Configuration of Sentry #
###########################
# Uncomment and set with the DSN provided by your Sentry project.
# SENTRY_DSN="https://[email protected]/42"
# Uncomment to send personally identifiable information (PPI) to Sentry.
# This data is subject to GDPR, so don't enable this option unless you're
# sure you're compliant.
# More info about collected data: https://docs.sentry.io/platforms/php/guides/symfony/data-management/data-collected/
# SENTRY_SEND_DEFAULT_PII=true
#########################
# Configuration of LDAP #
#########################
# Uncomment to enable LDAP.
# LDAP_ENABLED=true
# The hostname of the LDAP server.
# LDAP_HOST="localhost"
# The port of the LDAP server.
# LDAP_PORT=636
# The version of LDAP used by the server.
# LDAP_VERSION=3
# The encryption used to connect to the LDAP server (can be 'none', 'ssl', 'tls').
# LDAP_ENCRYPTION="ssl"
# The base DN of the LDAP directory.
# LDAP_BASE_DN="ou=users,dc=example,dc=com"
# The credentials of the admin user of the LDAP directory.
# LDAP_ADMIN_DN="cn=admin,dc=example,dc=com"
# LDAP_ADMIN_PASSWORD="secret"
# The DN to log a user in the LDAP directory. The {user_identifier} placeholder
# is replaced by the value entered by the users.
# LDAP_USERS_DN="cn={user_identifier},ou=users,dc=example,dc=com"
# The search query to list all the users from the LDAP directory. This is used
# to synchronize automatically the list of users.
# LDAP_QUERY_LIST_USERS="(cn=*)"
# The search query to find a user in the LDAP directory when they aren't known
# by Bileto. The {user_identifier} placeholder is replaced by the value entered
# by the user. If you use a different attribute than in LDAP_USERS_DN and
# LDAP_FIELD_IDENTIFIER, make sure that the values are identical in the LDAP
# directory.
# LDAP_QUERY_SEARCH_USER="(cn={user_identifier})"
# The name of the LDAP attributes to search for the identifier, the email and
# the fullname of the users.
# LDAP_FIELD_IDENTIFIER="cn"
# LDAP_FIELD_EMAIL="mail"
# LDAP_FIELD_FULLNAME="displayName"