From e8ce31c2167b8b2e2199f56a48214aff96861bc3 Mon Sep 17 00:00:00 2001 From: Power BI Dev Date: Sun, 3 May 2026 18:54:19 +0700 Subject: [PATCH] Tune primary compose for Coolify rebuild Keep the existing docker-compose.yml suitable for Coolify by using production PHP error defaults and the legacy-compatible MySQL SQL mode. --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 175b111..2a910e7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: DB_BIO: ${DB_BIO:-spota_spotadb} DB_DOSEN: ${DB_DOSEN:-spota_spotadb} SERVICE_DB_NAME: ${SERVICE_DB_NAME:-spota_spotadb} - PHP_DISPLAY_ERRORS: ${PHP_DISPLAY_ERRORS:-1} + PHP_DISPLAY_ERRORS: ${PHP_DISPLAY_ERRORS:-0} FILES_STORAGE_PATH: ${FILES_STORAGE_PATH:-/var/www/html/storage/app/files} volumes: - spota_storage:/var/www/html/storage @@ -36,7 +36,7 @@ services: dockerfile: docker/mysql/Dockerfile container_name: spota-db restart: unless-stopped - command: --default-authentication-plugin=mysql_native_password --character-set-server=latin1 --collation-server=latin1_swedish_ci + command: --default-authentication-plugin=mysql_native_password --character-set-server=latin1 --collation-server=latin1_swedish_ci --sql-mode=NO_ENGINE_SUBSTITUTION environment: MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-root_password} MYSQL_USER: ${DB_USER:-spota_user}