Config: set default db host to localhost
This commit is contained in:
parent
727698527e
commit
4a54a815a0
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def get_cache_dir() -> Path:
|
||||||
class DB(BaseSettings):
|
class DB(BaseSettings):
|
||||||
model_config = SettingsConfigDict(env_prefix="treetrail_db_")
|
model_config = SettingsConfigDict(env_prefix="treetrail_db_")
|
||||||
# uri: str
|
# uri: str
|
||||||
host: str = "treetrail-database"
|
host: str = "localhost"
|
||||||
port: int = 5432
|
port: int = 5432
|
||||||
user: str = "treetrail"
|
user: str = "treetrail"
|
||||||
db: str = "treetrail"
|
db: str = "treetrail"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue