Created
November 19, 2016 14:06
-
-
Save serjs/69f3eb0bf85d2125987d79fccb98d56e to your computer and use it in GitHub Desktop.
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
version: '2' | |
services: | |
blog_backend: | |
image: serjs/blog_backend | |
environment: | |
- MONGO_HOST=db | |
depends_on: | |
- db | |
environment: | |
- "constraint:provider==amazonec2" | |
- "health" | |
blog_ui: | |
image: serjs/blog_ui | |
env_file: | |
- blog-backend-vars.env | |
ports: | |
- "80:9292" | |
depends_on: | |
- blog_backend | |
environment: | |
- "health" | |
db: | |
image: serjs/mongodb | |
environment: | |
- "constraint:role==db" | |
- "health" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment