Skip to content

Instantly share code, notes, and snippets.

@mikeg0
Last active January 27, 2019 04:13
Show Gist options
  • Save mikeg0/73f0d9e1d86e2d0522a98de2425d1b5d to your computer and use it in GitHub Desktop.
Save mikeg0/73f0d9e1d86e2d0522a98de2425d1b5d to your computer and use it in GitHub Desktop.
docker-compose for traffic-cam proejct
version: "2.3"
services:
# pulls all traffic cam images
cam-miner:
image: node:10.6
container_name: cam-miner
working_dir: /srv/docker/
environment:
- NODE_ENV=production
# volumes:
# - ./:/home/node/app
command: "node server.js"
mem_limit: 512m
# volumes:
# - ./:/home/node/app
# - /home/node/app/node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment