Automatically place a XDEBUG launch file for vscode for WordPress

This commit is contained in:
André Menrath 2023-12-19 15:53:50 +01:00
parent d8384c5b50
commit e0fe72b002

View file

@ -49,7 +49,7 @@ services:
environment: environment:
MIX_ENV: "dev" MIX_ENV: "dev"
DOCKER: "true" DOCKER: "true"
MOBILIZON_INSTANCE_NAME: My Local Mobilizon MOBILIZON_INSTANCE_NAME: Mobilizon Local
MOBILIZON_INSTANCE_HOST: mz.lan MOBILIZON_INSTANCE_HOST: mz.lan
MOBILIZON_INSTANCE_HOST_PORT: 443 MOBILIZON_INSTANCE_HOST_PORT: 443
MOBILIZON_INSTANCE_PORT: 443 MOBILIZON_INSTANCE_PORT: 443
@ -75,7 +75,7 @@ services:
volumes: volumes:
- ./wordpress/wordpress:/var/www/html - ./wordpress/wordpress:/var/www/html
- /etc/ssl/certs/ca-certificates.crt:/var/www/html/wp-includes/certificates/ca-bundle.crt:ro - /etc/ssl/certs/ca-certificates.crt:/var/www/html/wp-includes/certificates/ca-bundle.crt:ro
- ./wordpress/vscode/launch.json:/var/www/html/.vscode/launch.json:rw
environment: environment:
- DOCKER_DEV_DOMAIN=wp.lan - DOCKER_DEV_DOMAIN=wp.lan
- WORDPRESS_DB_NAME=wordpress - WORDPRESS_DB_NAME=wordpress
@ -114,6 +114,8 @@ services:
environment: environment:
PMA_HOST: mariadb PMA_HOST: mariadb
MYSQL_ROOT_PASSWORD: password MYSQL_ROOT_PASSWORD: password
ports:
- 8180:80
volumes: volumes:
wordpress_database_data: wordpress_database_data: