Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export PHP_IMAGE="ibexa_php:latest-node" PHP_IMAGE_DEV="ibexa_php:latest-node"
docker compose --env-file .env up -d --build --force-recreate
echo '> Workaround for test issues: Change ownership of files inside docker container'
docker compose --env-file=.env exec -T app sh -c 'chown -R www-data:www-data /var/www'
if docker run -i --rm ibexa_php:latest-node bash -c "php -v" | grep -q '8.3'; then
if docker run -i --rm ibexa_php:latest-node bash -c "php -v" | grep -q '8.3' && [ "$PRODUCT_VERSION" = "~3.3.x-dev" ]; then
echo '> Set PHP 8.2+ Ibexa error handler to avoid deprecations'
docker compose --env-file=.env exec -T --user www-data app sh -c "composer config extra.runtime.error_handler \"\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler\""
docker compose --env-file=.env exec -T --user www-data app sh -c "composer dump-autoload"
Expand Down
28 changes: 28 additions & 0 deletions docker/elastic8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Elastic config, to be appended after base-prod or base-dev, ..., but before selenium.yml
#
# NOTE: You'll need to manually run the command: php bin/console ibexa:elasticsearch:put-index-template.

## WARNING!
# This service is currently work in progress, is not tested by CI, and thus not guaranteed to work.
# You are however more then welcome to try it out and help make it stable.

services:
app:
depends_on:
- elasticsearch
environment:
- SEARCH_ENGINE=elasticsearch
- ELASTICSEARCH_DSN=elasticsearch:9200

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.19.9
ports:
- "9200:9200"
- "9300:9300"
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
networks:
- frontend
- backend