Skip to content

Instantly share code, notes, and snippets.

@jbaxleyiii
Created June 30, 2015 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaxleyiii/945a263b4d2f859d355e to your computer and use it in GitHub Desktop.
Save jbaxleyiii/945a263b4d2f859d355e to your computer and use it in GitHub Desktop.
Docker setup for Norma + Meteor projects
tasks:
meteor:
src: "workbench"
watch: false
docker:
dev: true
endpoint: "NewSpring/norma-docker"
web:
image: "newspring/apollos-docker-meteor:dev"
environment: [
"ROOT_URL=http://localhost:3000"
"SETTINGS=./settings/development.json"
"MONGO_URL=mongodb://mongo/apollos-core"
"PORT=3000"
]
# these folders are sent to the containers (./assets)
volumes: [ "./workbench:/home/app" ]
links: [ "mongo" ]
ports: [ "8878:3000" ]
# shared between all Apollos sites locally
mongo:
persistent: true
image: "mongo:latest"
ports: [ "27017:27017" ]
volumes: [ "/var/lib/docker/mongo:/var/lib/mongo" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment