Created
June 30, 2015 18:38
-
-
Save jbaxleyiii/945a263b4d2f859d355e to your computer and use it in GitHub Desktop.
Docker setup for Norma + Meteor projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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