Extras
- Konfigurationsdateien sind PHP-Skripte
- Key Rollover
- Maintenance
- Session Management
- Metadata Storage
- Modules
- Bridging
- Composer
- Theming, Übersetzung, ...
- ...
@@ -14,6 +14,8 @@
- /opt/simplesamlphp_sp/dfn-aai.pem:/var/simplesamlphp/cert/dfn-aai.pem
- ./resources/var/www/html:/var/www/html
network_mode: bridge
+ extra_hosts:
+ - "host.docker.internal:host-gateway"
volumes:
var_log:
var_simplesamlphp:
@@ -67,6 +67,7 @@
php${BBX_PHP_VERSION}-curl \
php${BBX_PHP_VERSION}-intl \
php${BBX_PHP_VERSION}-sqlite3 \
+ php${BBX_PHP_VERSION}-xdebug \
php${BBX_PHP_VERSION}-xml \
rsyslog \
supervisor \
@@ -25,6 +25,11 @@
echogood "Setting PHP max execution time to ${PHPMAXEXECUTIONTIME}"
sed "s/^max_execution_time = .*$/max_execution_time = $PHPMAXEXECUTIONTIME/" -i /etc/php/${BBX_PHP_VERSION}/apache2/php.ini
+echogood "Enable xdebug ..."
+#Set up debugger
+echo "xdebug.mode=debug" >> /etc/php/${BBX_PHP_VERSION}/apache2/php.ini
+echo "xdebug.client_host=host.docker.internal" >> /etc/php/${BBX_PHP_VERSION}/apache2/php.ini
+
echogood "Starting Supervisor"
exec /usr/bin/supervisord > /dev/null 2>&1 &
child=$!