fix(HH-571): isolate WebChannel test service (#169)
Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user