浏览代码

changed config to match that of docker

main
Madiwka3 1年前
父节点
当前提交
65b5ccd866
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. +1
    -1
      app/core/config.py
  2. +1
    -0
      docker-compose.yml

+ 1
- 1
app/core/config.py 查看文件

@@ -3,7 +3,7 @@ class Settings:
PROJECT_VERSION: str = "1.0.0"
POSTGRES_USER: str = "VMSBase"
POSTGRES_PASSWORD = "VMSBasePass"
POSTGRES_SERVER: str = "localhost"
POSTGRES_SERVER: str = "db"
POSTGRES_PORT: str = "5432"
POSTGRES_DB: str = "VMSData"
DATABASE_URL = f"postgresql://{POSTGRES_USER}:{POSTGRES_PASSWORD}@{POSTGRES_SERVER}:{POSTGRES_PORT}/{POSTGRES_DB}"


+ 1
- 0
docker-compose.yml 查看文件

@@ -7,6 +7,7 @@ services:
- "8000:2764"
depends_on:
- db
restart: always


db:


正在加载...
取消
保存