mirror of https://github.com/JoeBiellik/paste
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
274 B
YAML
21 lines
274 B
YAML
9 years ago
|
node:
|
||
|
image: node:latest
|
||
|
command: "npm start"
|
||
|
working_dir: /app
|
||
|
links:
|
||
|
- db
|
||
|
environment:
|
||
|
- NODE_ENV=docker
|
||
|
volumes:
|
||
|
- .:/app
|
||
|
ports:
|
||
|
- 3000:80
|
||
|
|
||
|
db:
|
||
|
image: mongo:latest
|
||
|
command: "--smallfiles"
|
||
|
volumes:
|
||
|
- ./db:/data/db
|
||
|
expose:
|
||
|
- 27017
|