-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
executable file
·176 lines (167 loc) · 7.83 KB
/
.env
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# 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=c0a26bc9285352639ea479ca6f1c18ff
###< symfony/framework-bundle ###
###> ibexa/oss ###
SEARCH_ENGINE=legacy
# Uncomment following line if you want to change the purge type.
# By default it will use `local` purge when running locally
# and `varnish` for Platform.sh installations.
# HTTPCACHE_PURGE_TYPE=local
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
TRUSTED_PROXIES=127.0.0.1
CACHE_POOL=cache.tagaware.filesystem
# When using Redis or memcached adapter, you can configure it using DSN:
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
CACHE_DSN=localhost
CACHE_NAMESPACE=ibexa
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
DATABASE_VERSION=mariadb-10.3.0
SESSION_HANDLER_ID=session.handler.native_file
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
SOLR_DSN=http://localhost:8983/solr
SOLR_CORE=collection1
IBEXA_EDITION=oss
###< ibexa/oss ###
###> ibexa/headless ###
SEARCH_ENGINE=legacy
# Uncomment following line if you want to change the purge type.
# By default it will use `local` purge when running locally
# and `varnish` for Platform.sh installations.
# HTTPCACHE_PURGE_TYPE=local
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
TRUSTED_PROXIES=127.0.0.1
CACHE_POOL=cache.tagaware.filesystem
# When using Redis or memcached adapter, you can configure it using DSN:
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
CACHE_DSN=localhost
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
DATABASE_VERSION=mariadb-10.3.0
SESSION_HANDLER_ID=session.handler.native_file
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
SOLR_DSN=http://localhost:8983/solr
SOLR_CORE=collection1
# Enable Personalization by setting valid id, key and uri
PERSONALIZATION_CUSTOMER_ID=0
PERSONALIZATION_LICENSE_KEY=
PERSONALIZATION_HOST_URI=
ELASTICSEARCH_DSN=http://localhost:9200
# Enable fastly by setting valid service_id and key
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
# FASTLY_SERVICE_ID=""
# FASTLY_KEY=""
IBEXA_EDITION=headless
IBEXA_VARIATION_HANDLER_IDENTIFIER=alias
# Configure OAuth2 server
OAUTH2_PUBLIC_KEY_PATH=
OAUTH2_PRIVATE_KEY_PATH=
OAUTH2_PRIVATE_KEY_PASSPHRASE=
OAUTH2_ENCRYPTION_KEY=
###< ibexa/headless ###
###> ibexa/experience ###
SEARCH_ENGINE=legacy
# Uncomment following line if you want to change the purge type.
# By default it will use `local` purge when running locally
# and `varnish` for Platform.sh installations.
# HTTPCACHE_PURGE_TYPE=local
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
TRUSTED_PROXIES=127.0.0.1
CACHE_POOL=cache.tagaware.filesystem
# When using Redis or memcached adapter, you can configure it using DSN:
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
CACHE_DSN=localhost
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
DATABASE_VERSION=mariadb-10.3.0
SESSION_HANDLER_ID=session.handler.native_file
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
SOLR_DSN=http://localhost:8983/solr
SOLR_CORE=collection1
# Enable Personalization by setting valid id, key and uri
PERSONALIZATION_CUSTOMER_ID=0
PERSONALIZATION_LICENSE_KEY=
PERSONALIZATION_HOST_URI=
ELASTICSEARCH_DSN=http://localhost:9200
# Enable fastly by setting valid service_id and key
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
# FASTLY_SERVICE_ID=""
# FASTLY_KEY=""
IBEXA_EDITION=experience
# Default LOCK_DSN value (semaphore) makes project require additional 'sysvsem' PHP extension.
# If you have that extension feel free to reconfigure this env value back to 'semaphore'.
# 'flock' is safe replacement and is backward compatible. Required by Symfony Rate Limiter.
IBEXA_LOCK_DSN=flock
IBEXA_VARIATION_HANDLER_IDENTIFIER=alias
# Configure OAuth2 server
OAUTH2_PUBLIC_KEY_PATH=
OAUTH2_PRIVATE_KEY_PATH=
OAUTH2_PRIVATE_KEY_PASSPHRASE=
OAUTH2_ENCRYPTION_KEY=
###< ibexa/experience ###
###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=858ed3b2ebb852c259a56b0536e93782ea560ae07955b71c73cacf875dd2e084
###< lexik/jwt-authentication-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-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://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
###< doctrine/doctrine-bundle ###
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###
###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
###< symfony/swiftmailer-bundle ###