From 469ee2baecc2dcdf556e6978d0861a11a465d4bd Mon Sep 17 00:00:00 2001 From: Oleksii Skorobogatko Date: Sat, 7 Sep 2024 13:01:00 +0300 Subject: [PATCH] #1 set database host in docker network --- .env | 2 +- .env.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 9c685c2..cc44fe9 100644 --- a/.env +++ b/.env @@ -24,7 +24,7 @@ MYSQL_ROOT_PASSWORD=secret MYSQL_DATABASE=mirspay MYSQL_USER=mirspay MYSQL_PASSWORD=password -MYSQL_HOST=127.0.0.1 +MYSQL_HOST=database ### ###> doctrine/doctrine-bundle ### diff --git a/.env.test b/.env.test index 49512d3..c4d5caf 100644 --- a/.env.test +++ b/.env.test @@ -5,4 +5,4 @@ SYMFONY_DEPRECATIONS_HELPER=999999 PANTHER_APP_ENV=panther PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots -DATABASE_URL="mysql://mirspay:password@127.0.0.1:3306/mirspay?serverVersion=8.0.33&charset=utf8mb4" +DATABASE_URL="mysql://mirspay:password@database:3306/mirspay?serverVersion=8.0.33&charset=utf8mb4"