Last active
January 27, 2019 04:13
-
-
Save mikeg0/73f0d9e1d86e2d0522a98de2425d1b5d to your computer and use it in GitHub Desktop.
docker-compose for traffic-cam proejct
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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