Merge pull request #2527 from lbssousa/browsersync-ports

Added option to map Browsersync ports from workspace container
This commit is contained in:
Shao Yu-Lung (Allen)
2020-04-07 08:56:10 +08:00
committed by GitHub
3 changed files with 29 additions and 0 deletions

View File

@ -154,6 +154,8 @@ services:
- "dockerhost:${DOCKER_HOST_IP}"
ports:
- "${WORKSPACE_SSH_PORT}:22"
- "${WORKSPACE_BROWSERSYNC_HOST_PORT}:3000"
- "${WORKSPACE_BROWSERSYNC_UI_HOST_PORT}:3001"
- "${WORKSPACE_VUE_CLI_SERVE_HOST_PORT}:8080"
- "${WORKSPACE_VUE_CLI_UI_HOST_PORT}:8000"
tty: true