Skip to content

Instantly share code, notes, and snippets.

@Maxim-Filimonov
Created April 24, 2015 09:52
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save Maxim-Filimonov/d0f9e827ea4abb98abd1 to your computer and use it in GitHub Desktop.
Save Maxim-Filimonov/d0f9e827ea4abb98abd1 to your computer and use it in GitHub Desktop.
Docker meteor example files
mongo:
image: mongo:2.6.4
ports:
- "27017"
volumes:
- ./data:/data
command: mongod --smallfiles
web:
build: .
ports:
- "80:3000"
volumes:
# Presume that Magic folder is mounted
- ./app/:/app
environment:
- MONGO_URL=mongodb://mongo:27017/app
- ROOT_URL=http://docker.local
links:
- mongo
# User for local dev
FROM app/base
RUN npm install -g orion-cli
# This forces package-catalog update. Should speed up further runs
RUN meteor show meteor-platform
# Base image. Add anything unusual you need for your app here
FROM danieldent/meteor:1.0.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment