fix(HH-571): isolate WebChannel test service (#169)

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-24 16:03:48 +08:00
committed by GitHub
co-authored by rogee
parent 3d91da8231
commit efb7fde687
3 changed files with 13 additions and 3 deletions
+8 -1
View File
@@ -46,10 +46,17 @@ services:
web-channel-test:
image: nginx:alpine
container_name: gochat-web-channel-test
profiles: ["web-channel-test"]
ports:
- "8081:80"
environment:
NGINX_ENVSUBST_FILTER: ^WEB_CHANNEL_
NGINX_ENVSUBST_OUTPUT_DIR: /usr/share/nginx/html
WEB_CHANNEL_BASE_URL: ${WEB_CHANNEL_BASE_URL:-}
WEB_CHANNEL_WEBSITE_TOKEN: ${WEB_CHANNEL_WEBSITE_TOKEN:-}
volumes:
- ./web-channel-test/index.html:/usr/share/nginx/html/index.html:ro
- ./web-channel-test/index.html:/etc/nginx/templates/index.html.template:ro
- ./web-channel-test/15-validate-env.envsh:/docker-entrypoint.d/15-validate-web-channel.envsh:ro
gochat:
build: