expressCart/docker-compose.yml

26 lines
508 B
YAML
Raw Normal View History

2018-02-05 23:29:16 +10:00
version: '3'
services:
expresscart:
image: "node:8"
build: .
container_name: "expresscart"
environment:
NODE_ENV: development
NODE_PATH: /
ports:
- "1111:1111"
links:
- mongodb
depends_on:
- mongodb
mongodb:
2018-02-06 00:02:58 +10:00
image: mongo:3.4.10
container_name: "expresscart-mongodb"
2018-02-05 23:29:16 +10:00
volumes:
- expresscart-mongo-data:/data/db
2018-02-05 23:29:16 +10:00
ports:
2018-02-06 00:02:58 +10:00
- 27017:27017
command: mongod --smallfiles --logpath=/dev/null
volumes:
expresscart-mongo-data: