feat: update ML service Dockerfile to archlinux base and add port bindings for api/ml metrics

This commit is contained in:
MythEclipse
2026-06-07 21:40:09 +07:00
parent 6933e5512f
commit 64567986e1
2 changed files with 6 additions and 4 deletions
+4
View File
@@ -38,6 +38,8 @@ services:
API_PORT: "3000"
WEB_APP_URL: https://zeavisedu.asepharyana.my.id
ML_SERVICE_URL: ${ML_SERVICE_URL:-http://zeavis-ml:8000}
ports:
- "3000:3000"
labels:
traefik.enable: "true"
traefik.http.routers.zeavis-api.rule: Host(`api-zeavisedu.asepharyana.my.id`)
@@ -58,6 +60,8 @@ services:
environment:
MODEL_PATH: /app/model/model.onnx
MODEL_INPUT_SIZE: "224"
ports:
- "8000:8000"
labels:
traefik.enable: "true"
traefik.http.routers.zeavis-ml.rule: Host(`ml-zeavisedu.asepharyana.my.id`)