Skip to content

Instantly share code, notes, and snippets.

@mtheoryx
Created June 10, 2018 17:08
Show Gist options
  • Save mtheoryx/abf351cb647348098b5df7196fdf8c41 to your computer and use it in GitHub Desktop.
Save mtheoryx/abf351cb647348098b5df7196fdf8c41 to your computer and use it in GitHub Desktop.
version: '3'
services:
app:
build: .
image: electic-io
container_name: electric-io
command: npm run start
ports:
- 3000:3000
env_file:
- .env
environment:
- SIMULATING
- DEBUG
volumes: # For file editing, watching, etc
- ./public:/usr/app/public
- ./lib:/usr/app/lib
- ./.data/dashboard.json.sim:/usr/app/.data/dashboard.json.sim
- ./.config:/usr/app/.config
- ./index.js:/usr/app/index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment