Skip to content
Open
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN set -eux; \
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser
ENV COMPOSER_ALLOW_SUPERUSER=1

# Transport to use by Mercure (default to Bolt)
ENV MERCURE_TRANSPORT_URL=bolt:///data/mercure.db
# Extra directives for Mercure
ENV MERCURE_EXTRA_DIRECTIVES="transport bolt { path /data/mercure.db }"

ENV PHP_INI_SCAN_DIR=":$PHP_INI_DIR/app.conf.d"

Expand Down
6 changes: 5 additions & 1 deletion compose.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ services:
#- /app/vendor
environment:
FRANKENPHP_WORKER_CONFIG: watch
MERCURE_EXTRA_DIRECTIVES: demo
MERCURE_EXTRA_DIRECTIVES: |-
transport bolt {
path /data/mercure.db
}
demo
# See https://xdebug.org/docs/all_settings#mode
XDEBUG_MODE: "${XDEBUG_MODE:-off}"
APP_ENV: "${APP_ENV:-dev}"
Expand Down