feat: deploy demo test

This commit is contained in:
tao.chen
2026-07-28 13:57:54 +08:00
parent af74f2f242
commit 128aa7563f
6 changed files with 77 additions and 4 deletions
+17 -1
View File
@@ -1,6 +1,16 @@
version: '3.8'
services:
web:
image: nginx:alpine
ports:
- "8888:80"
restart: unless-stopped
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- backend
backend:
build:
context: .
@@ -9,6 +19,9 @@ services:
- "8000:8000"
environment:
- RUNTIME_BASE_URL=http://runtime:8001
volumes:
- ./backend:/app/backend:ro
- ./common:/app/common:ro
depends_on:
- runtime
@@ -19,4 +32,7 @@ services:
ports:
- "8001:8001"
environment:
- PUBLIC_BASE_URL=http://runtime
- PUBLIC_BASE_URL=http://runtime
volumes:
- ./runtime:/app/runtime:ro
- ./common:/app/common:ro