feat: 更新服务地址为 192.168.1.9,修改相关配置以支持局域网访问

This commit is contained in:
Pine
2026-08-18 09:05:23 +08:00
parent 7e6b14c44a
commit 81a888f5ca
17 changed files with 48 additions and 37 deletions
+1 -1
View File
@@ -55,6 +55,6 @@ VOLUME ["/app/backend/media", "/app/backend/knowledge", "/app/backend/data.json"
EXPOSE 10085 8765
HEALTHCHECK --interval=15s --timeout=5s --start-period=30s --retries=5 \
CMD python -c "import urllib.request,sys; sys.exit(0 if urllib.request.urlopen('http://127.0.0.1:10085/api/health', timeout=4).status==200 else 1)" || exit 1
CMD python -c "import urllib.request,sys; sys.exit(0 if urllib.request.urlopen('http://192.168.1.9:10085/api/health', timeout=4).status==200 else 1)" || exit 1
CMD ["python", "docker_entry.py"]