Skip to content

Instantly share code, notes, and snippets.

@anokun7
Created March 9, 2016 05:08
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 anokun7/494ca67c730223e01945 to your computer and use it in GitHub Desktop.
Save anokun7/494ca67c730223e01945 to your computer and use it in GitHub Desktop.
version: "2"
services:
  voting-app:
      image: docker/example-voting-app-voting-app
      ports:
      - "80"
      networks:
      - votenet
  result-app:
      image: docker/example-voting-app-result-app
      ports:
      - "80"
      networks:
      - votenet
  worker:
      image: docker/example-voting-app-worker
      networks:
      - votenet
  redis:
      image: redis
      networks:
      - votenet
  db:
      image: postgres:9.4
      volumes:
      - "db-data:/var/lib/postgresql/data"
      networks:
      - votenet
volumes:
  db-data:
networks:
  votenet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment