From 4b0387c1e610a964e387bb5e471332cfcb6edb91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8C=E1=85=B5=E1=84=8E=E1=85=A1=E1=86=AB=E1=84=80?= =?UTF-8?q?=E1=85=B2?= Date: Mon, 6 Mar 2023 00:41:48 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20settings=20DB=5FHOST=20default=20docker?= =?UTF-8?q?=20container=20host=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/settings.py b/conf/settings.py index 80a54f3..dcc631b 100644 --- a/conf/settings.py +++ b/conf/settings.py @@ -15,7 +15,7 @@ class BaseConfig(BaseSettings): ENV: str = Field(env="ENV", default=HeymojiEnv.DEV.value) ALLOW_ORIGINS: list = Field(env="ALLOW_ORIGINS", default=['*']) - DB_HOST: str = Field(env="DB_HOST", default="127.0.0.1") + DB_HOST: str = Field(env="DB_HOST", default="heymoji-db") DB_PORT: int = Field(env="DB_PORT", default="3306") DB_USERNAME: str = Field(env="DB_USERNAME", default="root") DB_PASSWORD: str = Field(env="DB_PASSWORD", default="root")