This commit is contained in:
aaron 2025-08-23 10:52:42 +08:00
parent d3df21b967
commit fe9c4e31b0
2 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,8 @@ logging.basicConfig(
) )
logger = logging.getLogger("fastapi") logger = logging.getLogger("fastapi")
init_db()
# 配置选项 # 配置选项
LOG_REQUEST_BODY = os.environ.get("LOG_REQUEST_BODY", "true").lower() == "true" LOG_REQUEST_BODY = os.environ.get("LOG_REQUEST_BODY", "true").lower() == "true"

View File

@ -29,7 +29,7 @@ services:
cryptoai-api: cryptoai-api:
build: . build: .
container_name: cryptoai-api container_name: cryptoai-api
image: cryptoai-api:0.2.26 image: cryptoai-api:0.2.27
restart: always restart: always
ports: ports:
- "8000:8000" - "8000:8000"