Skip to content

Commit

Permalink
composer create-project ibexa/experience-skeleton:3.3.4 ./ --no-install
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed Jun 9, 2021
1 parent 2c4886e commit c0bf10d
Show file tree
Hide file tree
Showing 363 changed files with 186,214 additions and 14,753 deletions.
54 changes: 0 additions & 54 deletions .dockerignore

This file was deleted.

242 changes: 153 additions & 89 deletions .env
Original file line number Diff line number Diff line change
@@ -1,119 +1,183 @@
# 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=.
# 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.
#
# 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

# 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
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=772ef243856f2699d6562b59f6124e63
###< symfony/framework-bundle ###

# Feel free to change project name to something meaningful (preferably unique per project)
COMPOSE_PROJECT_NAME=ezplatform
###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
###< symfony/mailer ###

## Docker images (name and version)
PHP_IMAGE=ezsystems/php:7.3-v2-node12
NGINX_IMAGE=nginx:stable
MYSQL_IMAGE=healthcheck/mariadb
SELENIUM_IMAGE=selenium/standalone-chrome-debug:3.141.59-20210422
CHROMIUM_IMAGE=registry.gitlab.com/dmore/docker-chrome-headless:7.1
REDIS_IMAGE=healthcheck/redis
###> 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:[email protected]:3306/db_name?serverVersion=5.7"
DATABASE_URL="postgresql://db_user:[email protected]:5432/db_name?serverVersion=13&charset=utf8"
###< doctrine/doctrine-bundle ###

SESSION_HANDLER_ID=session.handler.native_file
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
###> google/recaptcha ###
# To use Google Recaptcha, you must register a site on Recaptcha's admin panel:
# https://www.google.com/recaptcha/admin
GOOGLE_RECAPTCHA_SITE_KEY=
GOOGLE_RECAPTCHA_SECRET=
###< google/recaptcha ###

###> excelwebzone/recaptcha-bundle ###
EWZ_RECAPTCHA_SITE_KEY=
EWZ_RECAPTCHA_SECRET=
###< excelwebzone/recaptcha-bundle ###

APP_DOCKER_FILE=doc/docker/Dockerfile-app
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###

DATASET_VARDIR=my-ez-app
###> 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 ###

# 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
###> 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=e6f7c4674b3d8a1a98774ac85d3b3d93
###< lexik/jwt-authentication-bundle ###

# Enable recommendations by setting valid id, key and uri
#RECOMMENDATIONS_CUSTOMER_ID=""
#RECOMMENDATIONS_LICENSE_KEY=""
#PUBLIC_SERVER_URI=""
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=semaphore
###< symfony/lock ###

# 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=""
###> nelmio/solarium-bundle ###
SOLR_HOST=localhost
SOLR_CORE=example
###< nelmio/solarium-bundle ###

# eZ Platform Kernel
###> ibexa/oss ###
SEARCH_ENGINE=legacy

# eZ Platform Cache
# 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=
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
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to avoid it opening 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/oss ###

# eZ Platform HTTP Cache
###> ibexa/content ###
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=

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
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to avoid it opening 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_CORE=collection1
# Enable recommendations by setting valid id, key and uri
RECOMMENDATION_CUSTOMER_ID=0
RECOMMENDATION_LICENSE_KEY=
RECOMMENDATION_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=""
SISO_SEARCH_SOLR_HOST=localhost
SISO_SEARCH_SOLR_PORT=8983
SISO_SEARCH_SOLR_CORE=collection1
# Do not add 'solr' to the path. It is automatically added by SolariumBundle
SISO_SEARCH_SOLR_PATH=
# SolariumBundle Solr DSN configuration
# Note that /solr suffix will be appended autmatically to eZ Platform Solr Search Engine Bundle configuration
SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
###< ibexa/content ###

###> 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

# Doctrine DBAL
DATABASE_USER=ezp
DATABASE_PASSWORD=SetYourOwnPassword
DATABASE_NAME=ezp
DATABASE_HOST=db
DATABASE_PORT=3306
DATABASE_PLATFORM=mysql
DATABASE_DRIVER=pdo_mysql
HTTPCACHE_DEFAULT_TTL=86400
HTTPCACHE_PURGE_SERVER=http://localhost:80
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
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
CACHE_NAMESPACE=ezp
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci
# Needed by Doctrine Bundle / ORM to avoid it opening 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

# Doctrine DBAL Schema
DATABASE_CHARSET=utf8mb4
DATABASE_COLLATION=utf8mb4_unicode_520_ci

# eZ Platform SOLR Search Engine
SOLR_DSN=http://localhost:8983/solr
SESSION_HANDLER_ID=session.handler.native_file
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
SOLR_CORE=collection1

# eZ Platform Elastic Search Engine
# Enable recommendations by setting valid id, key and uri
RECOMMENDATION_CUSTOMER_ID=0
RECOMMENDATION_LICENSE_KEY=
ELASTICSEARCH_DSN=http://localhost:9200

###> 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"
# For a PostgreSQL database, use:\"postgresql://db_user:[email protected]:5432/db_name?serverVersion=11&charset=utf8"
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
DATABASE_URL=${DATABASE_PLATFORM}://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}?serverVersion=${DATABASE_VERSION}
###< 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 ###
# 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=""
SISO_SEARCH_SOLR_HOST=localhost
SISO_SEARCH_SOLR_PORT=8983
SISO_SEARCH_SOLR_CORE=collection1
# Do not add 'solr' to the path. It is automatically added by SolariumBundle
SISO_SEARCH_SOLR_PATH=
# SolariumBundle Solr DSN configuration
# Note that /solr suffix will be appended autmatically to eZ Platform Solr Search Engine Bundle configuration
SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
###< ibexa/experience ###
1 change: 1 addition & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
8 changes: 0 additions & 8 deletions .ez.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
| Question | Answer
| ---------------------------------------- | ------------------
| **JIRA issue** | EZP-XXXXX
| **Type** | feature/bug/improvement
| **Target Ibexa version** | `v3.x` - please update `x` accordingly
| **BC breaks** | yes/no
| **Doc needed** | yes/no

<!-- Replace this comment with Pull Request description -->

#### Checklist:
- [ ] Provided PR description.
- [ ] Tested the solution manually.
- [ ] Checked that target branch is set correctly.
- [ ] Asked for a review (ping `@ibexa/engineering`).
Loading

0 comments on commit c0bf10d

Please sign in to comment.