This commit is contained in:
hackerESQ
2025-01-25 22:19:54 -06:00
parent 00067c56d4
commit 5ade4b35a0
2 changed files with 14 additions and 5 deletions
+1 -2
View File
@@ -33,9 +33,8 @@ services:
MYSQL_USER: ${DB_USERNAME:-investbrain}
MYSQL_PASSWORD: ${DB_PASSWORD:-investbrain}
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD:-investbrain}
command: --cte-max-recursion-depth=1000
command: bash -c "echo -e '[mysqld]\ncte_max_recursion_depth = 25000' > /etc/mysql/conf.d/my.cnf && docker-entrypoint.sh mysqld"
volumes:
# - ./docker/mysql.conf:/etc/mysql/conf.d/my.cnf
- investbrain-mysql:/var/lib/mysql
networks:
- investbrain-network