diff --git a/backend/app/core/conf.py b/backend/app/core/conf.py index 7ebcbc0e..09181521 100644 --- a/backend/app/core/conf.py +++ b/backend/app/core/conf.py @@ -18,9 +18,9 @@ class Settings(BaseSettings): # Static Server STATIC_FILES: bool = False - # DB + # MySQL DB_ECHO: bool = False - DB_HOST: str = 'mysql' + DB_HOST: str = '127.0.0.1' DB_PORT: int = 3306 DB_USER: str = 'root' DB_PASSWORD: str = '123456' diff --git a/docker_conf.py b/docker_conf.py index 7ebcbc0e..59739d57 100644 --- a/docker_conf.py +++ b/docker_conf.py @@ -18,7 +18,7 @@ class Settings(BaseSettings): # Static Server STATIC_FILES: bool = False - # DB + # MySQL DB_ECHO: bool = False DB_HOST: str = 'mysql' DB_PORT: int = 3306