Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Last active August 30, 2018 08:41
Embed
What would you like to do?
version: "3"
services:
app:
build: .
ports:
- "3000:3000"
environment:
- MONGO_URL=mongodb://mongo:27017
depends_on:
- mongo
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
volumes:
mongo_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment