feat: 部署初版测试
This commit is contained in:
@@ -6,10 +6,14 @@ services:
|
||||
container_name: insight-reply-server
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8009:8080"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
# 这里可以读取宿主机的环境变量或 .env 文件内容
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
- LOG_FILE_PATH=/app/logs/InsightReply.log
|
||||
volumes:
|
||||
# Map the host's /root/logs to the container's /app/logs directory
|
||||
- /root/logs:/app/logs
|
||||
networks:
|
||||
- insight_network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user