Skip to content

Instantly share code, notes, and snippets.

@thomgit
Created August 20, 2016 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomgit/c0ddfcded35f986055e391442c83bda9 to your computer and use it in GitHub Desktop.
Save thomgit/c0ddfcded35f986055e391442c83bda9 to your computer and use it in GitHub Desktop.
version: "2"
services:
vote:
image: thomasch/votingapp_voting-app:latest
ports:
- "5000:80"
redis:
image: redis:alpine
ports: ["6379"]
worker:
image: thomasch/votingapp_worker:latest
db:
image: postgres:9.4
result:
image: thomasch/votingapp_result-app:latest
command: nodemon --debug server.js
ports:
- "5001:80"
- "5858:5858"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment