docker-compose.yml 427 Bytes
Newer Older
1 2
db:
  image: mongo
Satrajit Ghosh's avatar
Satrajit Ghosh committed
3 4
  volumes:
    - ./data:/data/db
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  ports:
    - "27017:27017"
  command: "--smallfiles --logpath=/dev/null"
web:
  build: .
  volumes:
    - .:/brainbox
    # - /brainbox/node_modules
    # - ./public/data:/brainbox/public/data
  ports:
    - "3000:3000"
    - "8080:8080"
    #- "35729:35729"
  links:
    - db
  environment:
    PORT: 3000
    DEVELOP: 0 # for livereload set to 1 and uncomment port 35729