Skip to content

Instantly share code, notes, and snippets.

@anhnguyen1618
Created September 27, 2017 19:52
Show Gist options
  • Save anhnguyen1618/ea65754b1e85e48ba6c28f80190ea04f to your computer and use it in GitHub Desktop.
Save anhnguyen1618/ea65754b1e85e48ba6c28f80190ea04f to your computer and use it in GitHub Desktop.
version: '2'
services:
stara-frontend:
build:
context: .
# Supply environment variables - use STARA prefix for the ones that go to UI
environment:
- MODE=development
- STARA_BACKEND_URL=http://it-dl723-hki:8040/web
# Angular accessible at localhost:10080
ports:
- "10080:10080"
- "10081:10081"
# Mount angular volume for live editing
volumes:
- ./angular:/app/angular
- /app/angular/src/assets/docs
links:
- selenium-chrome
selenium-chrome:
image: selenium/standalone-chrome:3.4.0
# If you need to access selenium (chrome UI), use configuration below
# Then you can access localhost:10590 with vnc (password: secret) for console
#image: selenium/standalone-chrome-debug:3.4.0
#ports:
# - "127.0.0.1:10590:5900"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment