Add debugging
This commit is contained in:
parent
db1674811f
commit
d5f180db4f
|
@ -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
|
|
@ -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
2
mariadb-config.cnf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[mysqld]
|
||||
max_connections=1024
|
Loading…
Reference in a new issue