1
0
Fork 0
mirror of synced 2024-05-16 18:52:33 +12:00

Add debugging

This commit is contained in:
Matej Bačo 2024-03-08 15:10:20 +01:00
parent db1674811f
commit d5f180db4f
3 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,7 @@
zend_extension=xdebug
[xdebug]
xdebug.mode=develop,debug
xdebug.mode=develop,debug,profile
xdebug.client_host=host.docker.internal
xdebug.start_with_request=yes
xdebug.start_with_request=yes
xdebug.output_dir=/tmp/xdebug

View file

@ -50,7 +50,7 @@ services:
build:
context: .
args:
DEBUG: false
DEBUG: true
TESTING: true
VERSION: dev
ports:
@ -84,6 +84,7 @@ services:
- ./public:/usr/src/code/public
- ./src:/usr/src/code/src
- ./dev:/usr/src/code/dev
- ./temp-debug:/tmp/xdebug
depends_on:
- mariadb
- redis
@ -959,6 +960,7 @@ services:
- database-proxy
volumes:
- appwrite-mariadb:/var/lib/mysql:rw
- ./mariadb-config.cnf:/etc/mysql/conf.d/mariadb-config.cnf
ports:
- "3306:3306"
environment:

2
mariadb-config.cnf Normal file
View file

@ -0,0 +1,2 @@
[mysqld]
max_connections=1024