-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env
More file actions
88 lines (79 loc) · 3.11 KB
/
.env
File metadata and controls
88 lines (79 loc) · 3.11 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# 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=prod
APP_SECRET=
APP_SHARE_DIR=var/share
###< 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://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7&charset=utf8mb4"
DATABASE_URL="mysql://%env(MYSQL_USER)%:%env(MYSQL_PASSWORD)%@%env(MYSQL_HOST)%:3306/%env(MYSQL_DATABASE)%"
###< doctrine/doctrine-bundle ###
MYSQL_USER=root
MYSQL_PASSWORD=
MYSQL_HOST=127.0.0.1
MYSQL_DATABASE=mail
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
TRUSTED_PROXIES=172.16.0.0/12
CSRF_ENABLED=true
###> hwi/oauth-bundle ###
OAUTH_ENABLED=false
OAUTH_CLIENT_ID=
OAUTH_CLIENT_SECRET=
OAUTH_CLIENT_SCOPES="openid email profile groups"
OAUTH_AUTHORIZATION_URL=
OAUTH_ACCESS_TOKEN_URL=
OAUTH_INFOS_URL=
OAUTH_ADMIN_GROUP=admin
OAUTH_BUTTON_TEXT="Login with OIDC"
OAUTH_PATHS_IDENTIFIER=email
OAUTH_CREATE_USER=false
###< hwi/oauth-bundle ###
###> symfony/routing ###
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
DEFAULT_URI=http://localhost
###< symfony/routing ###
###> rspamd ###
# Rspamd controller URL (e.g., http://rspamd:11334)
RSPAMD_CONTROLLER_URL=http://localhost:11334
# Rspamd read-only controller password
RSPAMD_PASSWORD=
# Request timeout in milliseconds (default: 2500)
RSPAMD_TIMEOUT_MS=2500
# Cache TTL in seconds (default: 10)
RSPAMD_CACHE_TTL_SECONDS=10
###< rspamd ###
###> doveadm-http-api ###
# Doveadm HTTP API configuration for Dovecot statistics
# URL to the Doveadm HTTP API endpoint (e.g., http://dovecot:8080)
DOVEADM_HTTP_URL=https://localhost:8080
DOVEADM_VERIFY_SSL=false
# API key for X-Dovecot-API authentication
DOVEADM_API_KEY=
# Request timeout in milliseconds (default: 2500)
DOVEADM_TIMEOUT_MS=2500
# How long to keep stats samples in cache (in minutes, default: 60)
DOVECOT_STATS_SNAPSHOT_TTL=60
# Minimum interval between stats samples (in seconds, default: 10)
DOVECOT_STATS_SAMPLE_INTERVAL_SECONDS=10
###< doveadm-http-api ###