|
| 1 | +# In all environments, the following files are loaded if they exist, |
| 2 | +# the latter taking precedence over the former: |
| 3 | +# |
| 4 | +# * .env contains default values for the environment variables needed by the app |
| 5 | +# * .env.local uncommitted file with local overrides |
| 6 | +# * .env.$APP_ENV committed environment-specific defaults |
| 7 | +# * .env.$APP_ENV.local uncommitted environment-specific overrides |
| 8 | +# |
| 9 | +# Real environment variables win over .env files. |
| 10 | +# |
| 11 | +# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. |
| 12 | +# https://symfony.com/doc/current/configuration/secrets.html |
| 13 | +# |
| 14 | +# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2). |
| 15 | +# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration |
| 16 | + |
| 17 | +###> symfony/framework-bundle ### |
| 18 | +APP_ENV=dev |
| 19 | +APP_SECRET=0070200521b030aa92b8f0f0f7c11135 |
| 20 | +###< symfony/framework-bundle ### |
| 21 | + |
| 22 | +###> ibexa/oss ### |
| 23 | +SEARCH_ENGINE=legacy |
| 24 | +# Uncomment following line if you want to change the purge type. |
| 25 | +# By default it will use `local` purge when running locally |
| 26 | +# and `varnish` for Platform.sh installations. |
| 27 | +# HTTPCACHE_PURGE_TYPE=local |
| 28 | +HTTPCACHE_DEFAULT_TTL=86400 |
| 29 | +HTTPCACHE_PURGE_SERVER=http://localhost:80 |
| 30 | +HTTPCACHE_VARNISH_INVALIDATE_TOKEN= |
| 31 | +# Uncomment following line if you want to enable translation-aware behavior for HTTP cache. |
| 32 | +# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true |
| 33 | +TRUSTED_PROXIES=127.0.0.1 |
| 34 | +CACHE_POOL=cache.tagaware.filesystem |
| 35 | +# When using Redis or memcached adapter, you can configure it using DSN: |
| 36 | +# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection |
| 37 | +# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection |
| 38 | +CACHE_DSN=localhost |
| 39 | +CACHE_NAMESPACE=ibexa |
| 40 | +DATABASE_CHARSET=utf8mb4 |
| 41 | +DATABASE_COLLATION=utf8mb4_unicode_520_ci |
| 42 | +# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet. |
| 43 | +# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration |
| 44 | +DATABASE_VERSION=mariadb-10.3.0 |
| 45 | +SESSION_HANDLER_ID=session.handler.native_file |
| 46 | +SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment% |
| 47 | +SOLR_DSN=http://localhost:8983/solr |
| 48 | +SOLR_CORE=collection1 |
| 49 | +IBEXA_EDITION=oss |
| 50 | +###< ibexa/oss ### |
| 51 | + |
| 52 | +###> ibexa/headless ### |
| 53 | +SEARCH_ENGINE=legacy |
| 54 | +# Uncomment following line if you want to change the purge type. |
| 55 | +# By default it will use `local` purge when running locally |
| 56 | +# and `varnish` for Platform.sh installations. |
| 57 | +# HTTPCACHE_PURGE_TYPE=local |
| 58 | +HTTPCACHE_DEFAULT_TTL=86400 |
| 59 | +HTTPCACHE_PURGE_SERVER=http://localhost:80 |
| 60 | +HTTPCACHE_VARNISH_INVALIDATE_TOKEN= |
| 61 | +# Uncomment following line if you want to enable translation-aware behavior for HTTP cache. |
| 62 | +# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true |
| 63 | +TRUSTED_PROXIES=127.0.0.1 |
| 64 | +CACHE_POOL=cache.tagaware.filesystem |
| 65 | +# When using Redis or memcached adapter, you can configure it using DSN: |
| 66 | +# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection |
| 67 | +# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection |
| 68 | +CACHE_DSN=localhost |
| 69 | +CACHE_NAMESPACE=ezp |
| 70 | +DATABASE_CHARSET=utf8mb4 |
| 71 | +DATABASE_COLLATION=utf8mb4_unicode_520_ci |
| 72 | +# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet. |
| 73 | +# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration |
| 74 | +DATABASE_VERSION=mariadb-10.3.0 |
| 75 | +SESSION_HANDLER_ID=session.handler.native_file |
| 76 | +SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment% |
| 77 | +SOLR_DSN=http://localhost:8983/solr |
| 78 | +SOLR_CORE=collection1 |
| 79 | +# Enable Personalization by setting valid id, key and uri |
| 80 | +PERSONALIZATION_CUSTOMER_ID=0 |
| 81 | +PERSONALIZATION_LICENSE_KEY= |
| 82 | +PERSONALIZATION_HOST_URI= |
| 83 | +ELASTICSEARCH_DSN=http://localhost:9200 |
| 84 | +# Enable fastly by setting valid service_id and key |
| 85 | +# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed |
| 86 | +# FASTLY_SERVICE_ID="" |
| 87 | +# FASTLY_KEY="" |
| 88 | +IBEXA_EDITION=headless |
| 89 | +IBEXA_VARIATION_HANDLER_IDENTIFIER=alias |
| 90 | +# Configure OAuth2 server |
| 91 | +OAUTH2_PUBLIC_KEY_PATH= |
| 92 | +OAUTH2_PRIVATE_KEY_PATH= |
| 93 | +OAUTH2_PRIVATE_KEY_PASSPHRASE= |
| 94 | +OAUTH2_ENCRYPTION_KEY= |
| 95 | +###< ibexa/headless ### |
| 96 | + |
| 97 | +###> nelmio/cors-bundle ### |
| 98 | +CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$' |
| 99 | +###< nelmio/cors-bundle ### |
| 100 | + |
| 101 | +###> doctrine/doctrine-bundle ### |
| 102 | +# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url |
| 103 | +# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml |
| 104 | +# |
| 105 | +# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db" |
| 106 | +# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4" |
| 107 | +DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" |
| 108 | +###< doctrine/doctrine-bundle ### |
| 109 | + |
| 110 | +###> symfony/swiftmailer-bundle ### |
| 111 | +# For Gmail as a transport, use: "gmail://username:password@localhost" |
| 112 | +# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" |
| 113 | +# Delivery is disabled by default via "null://localhost" |
| 114 | +MAILER_URL=null://localhost |
| 115 | +###< symfony/swiftmailer-bundle ### |
| 116 | + |
| 117 | +###> lexik/jwt-authentication-bundle ### |
| 118 | +JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem |
| 119 | +JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem |
| 120 | +JWT_PASSPHRASE=ead6aef7aee69d9ccde87428bf7462c04404214e6972eb6f5df2ed33f3ab8660 |
| 121 | +###< lexik/jwt-authentication-bundle ### |
| 122 | + |
| 123 | +###> symfony/lock ### |
| 124 | +# Choose one of the stores below |
| 125 | +# postgresql+advisory://db_user:db_password@localhost/db_name |
| 126 | +LOCK_DSN=flock |
| 127 | +###< symfony/lock ### |
| 128 | + |
| 129 | +###> ibexa/connect ### |
| 130 | +IBEXA_CONNECT_HOST=https://connect.ibexa.co |
| 131 | +IBEXA_CONNECT_API_PATH=/api/v2/ |
| 132 | +# Token can be created in the user's profile in Ibexa Connect, under the 'API ACCESS' section. |
| 133 | +IBEXA_CONNECT_TOKEN=12345 |
| 134 | +# Use the URL below to read more on Ibexa Connect teams. |
| 135 | +# https://doc.ibexa.co/projects/connect/en/latest/access_management/teams/ |
| 136 | +IBEXA_CONNECT_TEAM_ID=12345 |
| 137 | +###< ibexa/connect ### |
0 commit comments