-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env
More file actions
70 lines (63 loc) · 2.77 KB
/
.env
File metadata and controls
70 lines (63 loc) · 2.77 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
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=ThisTokenIsNotSoSecretChangeIt
###< symfony/framework-bundle ###
###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
DATABASE_URL="mysql://timetracker:timetracker@db:3306/timetracker?serverVersion=8"
# DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/db_name?serverVersion=16&charset=utf8"
###< doctrine/doctrine-bundle ###
###> symfony/mailer ###
MAILER_DSN=smtp://localhost
###< symfony/mailer ###
###> sentry/sentry-symfony ###
SENTRY_DSN=""
###< sentry/sentry-symfony ###
###> LDAP Configuration ###
LDAP_HOST="ldap-dev"
# LDAP port: 0 use default ports; 336 non SSL; 636 SSL
LDAP_PORT=389
LDAP_READUSER="cn=readuser,dc=dev,dc=local"
LDAP_READPASS="readuser"
LDAP_BASEDN="dc=dev,dc=local"
# use sAMAccountName for AD
LDAP_USERNAMEFIELD="uid"
# use SSL: old, deprecated, method for encrypted connection
LDAP_USESSL=false
# whether to create users in TimeTracker after successfully authenticated by LDAP but not existing in TimeTracker
LDAP_CREATE_USER=true
###< LDAP Configuration ###
###> Application Configuration ###
APP_LOCALE="en"
APP_LOGO_URL="/build/images/logo-netresearch.svg"
APP_MONTHLY_OVERVIEW_URL="https://stats.timetracker.nr/?user="
APP_TITLE="Netresearch TimeTracker"
APP_HEADER_URL=""
APP_SHOW_BILLABLE_FIELD_IN_EXPORT=false
# comma-separated list of user names that may act on behalf on other users
SERVICE_USERS=""
###< Application Configuration ###
###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###< symfony/messenger ###