Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. version: "3"
  2. services:
  3. redis:
  4. image: redis:alpine
  5. ports:
  6. - "6379"
  7. db:
  8. image: postgres:9.4
  9. volumes:
  10. - db-data:/var/lib/postgresql/data
  11. vote:
  12. image: dockersamples/examplevotingapp_vote:before
  13. ports:
  14. - 5000:80
  15. depends_on:
  16. - redis
  17. result:
  18. image: dockersamples/examplevotingapp_result:before
  19. ports:
  20. - 5001:80
  21. depends_on:
  22. - db
  23. worker:
  24. image: dockersamples/examplevotingapp_worker
  25. visualizer:
  26. image: dockersamples/visualizer:stable
  27. ports:
  28. - "8080:8080"
  29. stop_grace_period: 1m30s
  30. volumes:
  31. - "/var/run/docker.sock:/var/run/docker.sock"
  32. volumes:
  33. db-data:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement