Created
February 23, 2018 02:45
-
-
Save smford22/2bbd72ac03f28d20bcc059e20150fbf5 to your computer and use it in GitHub Desktop.
national-parks docker-compose.yml
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: '2' | |
| services: | |
| mongodb: | |
| image: <your origin>/np-mongodb | |
| command: --strategy at-once | |
| national-parks: | |
| image: <your origin>/national-parks | |
| ports: | |
| - 8081:8080 | |
| - 9631:9631 | |
| links: | |
| - mongodb | |
| depends_on: | |
| - mongodb | |
| command: --strategy at-once --channel stable --peer mongodb --bind database:np-mongodb.default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment