Skip to content

Instantly share code, notes, and snippets.

@jeffbryner
Created July 9, 2018 16:20
Show Gist options
  • Save jeffbryner/4a627e149035f95e50207b7b3e1300d0 to your computer and use it in GitHub Desktop.
Save jeffbryner/4a627e149035f95e50207b7b3e1300d0 to your computer and use it in GitHub Desktop.
docker compose for local meteor development.
---
version: '2.2'
services:
mongodb:
build: mongodb/
restart: always
command: /usr/bin/mongod --smallfiles --config /etc/mongod.conf
volumes:
- mongodb:/var/lib/mongo
ports:
- 3002:3002
networks:
- default
meteor:
build:
context: ../../
dockerfile: docker/compose/mozdef_meteor/Dockerfile
restart: 'no'
command: bash -c 'node -i'
depends_on:
- mongodb
networks:
- default
volumes:
- /Users/jbryner/development/meteor/code:/opt/mozdef/envs/mozdef
ports:
- 3000:3000
stdin_open: true
tty: true
volumes:
mongodb:
networks:
default:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment