-
-
Save eeganlf/583e9f3376181b6ed2ad62ec0f6efddd to your computer and use it in GitHub Desktop.
Docker Compose Spec with Links
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
| services: | |
| vote: | |
| image: xxxxx/vote:latest | |
| ports: | |
| - 5000:80 | |
| links: | |
| - redis:redis | |
| redis: | |
| image: redis:alpine | |
| db: | |
| image: postgres:9.4 | |
| result: | |
| image: xxxxx/result:latest | |
| ports: | |
| - 5001:4000 | |
| links: | |
| - db:db | |
| worker: | |
| image: xxxxx/worker:latest | |
| links: | |
| - redis:redis | |
| - db:db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment