Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
118
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.  
  3. services:
  4. redis:
  5. image: redis
  6. networks:
  7. - deployml_network
  8.  
  9. modelserver:
  10. image: localhost:5000/modelserver
  11. build: ./modelserver
  12. depends_on:
  13. - redis
  14. networks:
  15. - deployml_network
  16. env_file:
  17. - app.env
  18. environment:
  19. - SERVER_SLEEP=0.25
  20. - BATCH_SIZE=32
  21. deploy:
  22. replicas: 2
  23. restart_policy:
  24. condition: on-failure
  25.  
  26. webserver:
  27. image: localhost:5000/webserver
  28. build: ./webserver
  29. ports:
  30. - "80:80"
  31. networks:
  32. - deployml_network
  33. depends_on:
  34. - redis
  35. env_file:
  36. - app.env
  37. environment:
  38. - CLIENT_SLEEP=0.25
  39.  
  40. networks:
  41. deployml_network:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement