Skip to content

Instantly share code, notes, and snippets.

@ajbeach2
Last active December 27, 2016 15:23
Show Gist options
  • Save ajbeach2/43891ba3bf7c0b9756c487f6baf5f829 to your computer and use it in GitHub Desktop.
Save ajbeach2/43891ba3bf7c0b9756c487f6baf5f829 to your computer and use it in GitHub Desktop.
services:
client:
build: ./myclient
volumes:
- ./myclient/:myclient
- ./myclient/node_modules:/myclient/node_modules
ports:
- "8080"
web:
build: ./myapi
env_file:
- ./.env
ports:
- "5000:5000"
volumes:
- .myapi:/myapi
depends_on:
- "db"
- "client
db:
image: "mysql"
tty: true
stdin_open: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment