Skip to content

Instantly share code, notes, and snippets.

@baldrailers
Created March 14, 2018 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baldrailers/8b42c03564275e1f57dd1b8d0e5f2c74 to your computer and use it in GitHub Desktop.
Save baldrailers/8b42c03564275e1f57dd1b8d0e5f2c74 to your computer and use it in GitHub Desktop.
version: '3'
services:
web:
build:
context: server
dockerfile: Dockerfile-dev
command: npm start # expecting bind port to 3000
...
lt:
build:
context: lt # folder you created earlier with the Dockefile-lt inside
dockerfile: Dockerfile-lt
command: "usr/local/bin/lt --port 3000 --local-host web
depends_on:
- web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment