forked from ezsystems/ezplatform-ee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
113 lines (91 loc) · 3.91 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
# Allows us to set default values of env variables, see: https://docs.docker.com/compose/env-file/
COMPOSE_FILE=doc/docker/base-dev.yml
COMPOSE_DIR=.
# You'll need to adjust this for Windows and XDB Linux systems: https://getcomposer.org/doc/03-cli.md#composer-home
COMPOSER_HOME=~/.composer
COMPOSER_MEMORY_LIMIT=4G
# Feel free to change project name to something meaningful (preferably unique per project)
COMPOSE_PROJECT_NAME=ezplatform
## Docker images (name and version)
PHP_IMAGE=ezsystems/php:7.3-v1
PHP_IMAGE_DEV=ezsystems/php:7.3-v1-dev
NGINX_IMAGE=nginx:stable
MYSQL_IMAGE=healthcheck/mariadb
SELENIUM_IMAGE=selenium/standalone-chrome-debug:3.141.59-oxygen
CHROMIUM_IMAGE=registry.gitlab.com/dmore/docker-chrome-headless:7.1
REDIS_IMAGE=healthcheck/redis
SESSION_HANDLER_ID=session.handler.native_file
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
APP_DOCKER_FILE=doc/docker/Dockerfile-app
DATASET_VARDIR=my-ez-app
# Behat / Selenium config
## web host refer to the tip of the setup, so varnish if that is used.
WEB_HOST=web
MINK_DEFAULT_SESSION=selenium
SELENIUM_HOST=selenium
CHROMIUM_HOST=chromium
# Enable recommendations by setting valid id, key and uri
#RECOMMENDATIONS_CUSTOMER_ID=""
#RECOMMENDATIONS_LICENSE_KEY=""
#PUBLIC_SERVER_URI=""
# Enable fastly by setting valid service_id and key
# In order for this to work you also need to have the EE bundle EzSystemsPlatformFastlyCacheBundle installed
#FASTLY_SERVICE_ID=""
#FASTLY_KEY=""
# eZ Platform Kernel
SEARCH_ENGINE=legacy
# eZ Platform Cache
CACHE_POOL=cache.tagaware.filesystem
# When using redis or memcached adapters, 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
# eZ Platform HTTP Cache
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=~
# 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
# Doctrine DBAL
DATABASE_USER=ezp
DATABASE_PASSWORD=SetYourOwnPassword
DATABASE_NAME=ezp
DATABASE_HOST=db
DATABASE_PORT=3306
DATABASE_PLATFORM=mysql
DATABASE_DRIVER=pdo_mysql
# Doctrine DBAL Schema
# set here for BC reasons, change them in parameters.yml
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# eZ Platform SOLR Search Engine
SOLR_DSN=http://localhost:8983/solr
SOLR_CORE=collection1
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=ff6dc61a329dc96652bb092ec58981f7
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$'
###< symfony/framework-bundle ###
###> doctrine/doctrine-bundle ###
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=${DATABASE_PLATFORM}://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}
###< doctrine/doctrine-bundle ###
###> 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 ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
###< nelmio/cors-bundle ###
###> 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=0d30a16bfee14363b574e4b4238ea7ec
###< lexik/jwt-authentication-bundle ###