ci: add test environment frontend deployment

This commit is contained in:
2026-07-30 21:18:39 +08:00
parent ae81edf69a
commit c1f6423c20
5 changed files with 105 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
services:
admin-web:
build:
context: .
dockerfile: Dockerfile
image: admin-web-test:local
container_name: admin-web-test
restart: unless-stopped
ports:
- "${HOST_PORT:-18080}:80"
environment:
# 当前测试后端 Gateway;以后迁移环境时只需要改这里或 Jenkins 环境变量。
API_UPSTREAM: "${API_UPSTREAM:-http://8.163.30.128:9000}"