No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-cloud.yml 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. db:
  2. command: mongod --auth
  3. image: 'mongo:3.4'
  4. ports:
  5. - '27017:27017'
  6. restart: always
  7. volumes:
  8. - '/data/db:/data/db'
  9. - '/data/configdb:/data/configdb'
  10. rabbit:
  11. autodestroy: on-success
  12. autoredeploy: true
  13. environment:
  14. - RABBITMQ_DEFAULT_PASS=rabbitmq
  15. - RABBITMQ_DEFAULT_USER=rabbitmq
  16. - RABBITMQ_DEFAULT_VHOST=/
  17. - RABBITMQ_ERLANG_COOKIE=Jaighou7Omahghahngai
  18. expose:
  19. - '4369'
  20. - '5671'
  21. - '5672'
  22. - '15671'
  23. hostname: rabbit1
  24. image: 'rabbitmq:3-management-alpine'
  25. ports:
  26. - '15672'
  27. restart: on-failure
  28. volumes:
  29. - '/data/rabbitmq:/var/lib/rabbitmq'
  30. restapi:
  31. autoredeploy: true
  32. environment:
  33. - DEPL_ENV=prod
  34. - LETSENCRYPT_EMAIL=korndoerfer@yp-connect.de
  35. - LETSENCRYPT_HOST=rest-api.stage.jobify.net
  36. - VIRTUAL_HOST=rest-api.stage.jobify.net
  37. image: 'mxkd/jobify:latest'
  38. links:
  39. - db
  40. - rabbit
  41. ports:
  42. - '80'
  43. - '443'
  44. restart: always
  45. roles:
  46. - global
  47. worker:
  48. image: 'mxkd/jobify:latest'
  49. autoredeploy: true
  50. environment:
  51. - DEPL_ENV=prod
  52. links:
  53. - db
  54. - rabbit
  55. command: celery -A ypc_algorithm_worker.celery_interface worker --loglevel=info