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")
init_db()
# 配置选项
LOG_REQUEST_BODY = os.environ.get("LOG_REQUEST_BODY", "true").lower() == "true"

View File

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