ci: add test environment frontend deployment
This commit is contained in:
@@ -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}"
|
||||
Reference in New Issue
Block a user