This commit is contained in:
taochen
2026-08-06 09:45:40 +08:00
parent f63ddc59b5
commit dcc2088999
+4 -2
View File
@@ -35,8 +35,6 @@ services:
condition: service_healthy condition: service_healthy
runtime: runtime:
condition: service_healthy condition: service_healthy
volumes:
- ./frontend/build/client:/usr/share/nginx/html
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/ >/dev/null"] test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/ >/dev/null"]
interval: 10s interval: 10s
@@ -77,6 +75,8 @@ services:
condition: service_completed_successfully condition: service_completed_successfully
runtime: runtime:
condition: service_healthy condition: service_healthy
ports:
- 8891:8000
volumes: volumes:
- ./backend:/app/backend - ./backend:/app/backend
- ./common:/app/common - ./common:/app/common
@@ -93,6 +93,8 @@ services:
context: . context: .
dockerfile: runtime/Dockerfile dockerfile: runtime/Dockerfile
restart: unless-stopped restart: unless-stopped
ports:
- 8892:8000
cap_add: cap_add:
- SYS_ADMIN - SYS_ADMIN
devices: devices: