Created
January 11, 2017 10:09
-
-
Save kadel/317c29d4ab27a2d9011d7882280f9b4f to your computer and use it in GitHub Desktop.
This file contains hidden or 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: "0.2" | |
| services: | |
| frontend: | |
| "docker.io/surajd/frontend:v1": | |
| ports: | |
| - 8080:8080 | |
| type: external | |
| backend: | |
| "docker.io/surajd/backend:v1": | |
| ports: | |
| - 3000:3000 | |
| environment: | |
| MONGODB_PASSWORD: pass | |
| MONGODB_USER: user | |
| MONGODB_DATABASE: db | |
| MONGODB_SERVER: mongodb:27017 | |
| mongodb: | |
| "tomaskral/mongodb-centos7": | |
| ports: | |
| - 27017:27017 | |
| volumes: | |
| - db-store:/var/lib/mongodb/data | |
| environment: | |
| MONGODB_PASSWORD: pass | |
| MONGODB_USER: user | |
| MONGODB_DATABASE: db | |
| MONGODB_ADMIN_PASSWORD: root | |
| volumes: | |
| db-store: | |
| size: "2Gi" | |
| mode: ReadWriteOnce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment