Guest User

Untitled

a guest
May 31st, 2017
1,037
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2.  
  3. services:
  4. myrezerv-frontend:
  5. build: frontend/
  6. ports:
  7. - '80:80'
  8. - '443:443'
  9. depends_on:
  10. - myrezerv-server
  11. - myrezerv-webapp
  12. - myrezerv-radmin
  13. - myrezerv-prerender
  14. volumes:
  15. - myrezerv-mediafiles:/mediafiles/
  16. - myrezerv-webapp-rootfiles:/webapp-rootfiles/
  17. - myrezerv-radmin-rootfiles:/radmin-rootfiles/
  18. - myrezerv-certs:/certs/
  19. - myrezerv-sitemap:/sitemap/
  20. environment:
  21. - USE_SSL=1
  22.  
  23. - MAIN_DOMAIN=myrezerv.ru
  24. - MEDIA_ROOT=/mediafiles/
  25.  
  26. - MYREZERV_SERVER_HOSTNAME=myrezerv-server
  27. - MYREZERV_PRERENDER_HOSTNAME=myrezerv-prerender
  28. restart: always
  29.  
  30. myrezerv-prerender:
  31. image: registry.gitlab.fenwik.ru/myrezerv/myrezerv-prerender:latest
  32. depends_on:
  33. - myrezerv-webapp
  34. environment:
  35. - ALLOWED_DOMAINS=myrezerv.ru
  36. - PORT=80
  37. restart: always
  38.  
  39. myrezerv-webapp:
  40. image: registry.gitlab.fenwik.ru/myrezerv/myrezerv-webapp:latest
  41. depends_on:
  42. - myrezerv-server
  43. environment:
  44. - MYREZERV_SERVER_HOSTNAME=myrezerv-server
  45. restart: always
  46.  
  47. myrezerv-radmin:
  48. image: registry.gitlab.fenwik.ru/myrezerv/myrezerv-radmin:latest
  49. depends_on:
  50. - myrezerv-server
  51. restart: always
  52.  
  53. myrezerv-sitemap:
  54. image: registry.gitlab.fenwik.ru/myrezerv/myrezerv-sitemap:latest
  55. volumes:
  56. - myrezerv-sitemap:/app/sitemap/
  57. restart: always
  58.  
  59. myrezerv-server:
  60. image: registry.gitlab.fenwik.ru/myrezerv/myrezerv-server:latest
  61. depends_on:
  62. - myrezerv-db
  63. - myrezerv-memcached
  64. - myrezerv-redis
  65. volumes:
  66. - myrezerv-mediafiles:/mediafiles/
  67. environment:
  68. - DJANGO_LOG_LEVEL=DEBUG
  69.  
  70. - MEDIA_URL=https://myrezerv.ru/media/
  71.  
  72. - MEDIA_ROOT=/mediafiles/
  73. - STATIC_ROOT=/staticfiles/
  74.  
  75. - MYSQL_HOST=myrezerv-db
  76. - MYSQL_USER=myrezerv
  77. - MYSQL_PASSWORD=aeX4oiphGi0eS7sa
  78. - MYSQL_DATABASE=myrezerv
  79.  
  80. - SMSC_LOGIN=myrezerv
  81. - SMSC_PASSWORD=RTvj75DiH
  82. - SMSC_SENDER=MyRezerv
  83.  
  84. - SENTRY_DSN=https://3c02deb17600474d82b2013f2928821d:1295f0311cc54eb7b1fc6c00479dfaab@app.getsentry.com/56761
  85.  
  86. - ALFA_BANK_DELIVERY_ORDER_ID_PREFIX=D
  87. - ALFA_BANK_BOOKING_ORDER_ID_PREFIX=B
  88. - ALFA_BANK_USERNAME=myrezerv-api
  89. - ALFA_BANK_PASSWORD=myrezerv
  90.  
  91. - PAYMENT_BOOKING_SUCCESS_URL=https://%(city_slug)s.myrezerv.ru/restaurants/%(restaurant_slug)s/booking/success/
  92. - PAYMENT_BOOKING_FAIL_URL=https://%(city_slug)s.myrezerv.ru/restaurants/%(restaurant_slug)s/booking/fail/
  93. - PAYMENT_DELIVERY_SUCCESS_URL=https://%(city_slug)s.myrezerv.ru/delivery/%(restaurant_slug)s/order/success/
  94. - PAYMENT_DELIVERY_FAIL_URL=https://%(city_slug)s.myrezerv.ru/delivery/%(restaurant_slug)s/order/fail/
  95.  
  96. - MEMCACHED_URI=myrezerv-memcached
  97.  
  98. - RQ_REDIS_HOST=myrezerv-redis
  99. - RQ_REDIS_PORT=6379
  100. - RQ_REDIS_DB=1
  101.  
  102. - EMAIL_HOST=smtp.yandex.ru
  103. - EMAIL_HOST_USER=noreply@fenwik.ru
  104. - EMAIL_HOST_PASSWORD=xb99WMcp3igGqXp4
  105. - EMAIL_SUBJECT_PREFIX=[MyREZERV]
  106. - EMAIL_PORT=587
  107. - EMAIL_USE_SSL=0
  108. - EMAIL_USE_TLS=1
  109.  
  110. - PAPERTRAIL_HOST=logs5
  111. - PAPERTRAIL_PORT=28042
  112.  
  113. - MAIN_DOMAIN=myrezerv.ru
  114. restart: always
  115.  
  116. myrezerv-db:
  117. image: mysql:8.0.0
  118. volumes:
  119. - myrezerv-db-data:/var/lib/mysql
  120. environment:
  121. MYSQL_ROOT_PASSWORD: Aap0eheeooZoh2ez
  122. MYSQL_USER: myrezerv
  123. MYSQL_PASSWORD: aeX4oiphGi0eS7sa
  124. MYSQL_DATABASE: myrezerv
  125. restart: always
  126.  
  127. myrezerv-memcached:
  128. image: memcached:1.4
  129. restart: always
  130.  
  131. myrezerv-redis:
  132. image: redis:3.2
  133. restart: always
  134.  
  135. volumes:
  136. myrezerv-mediafiles:
  137. external:
  138. name: myrezerv-mediafiles
  139.  
  140. myrezerv-webapp-rootfiles:
  141. external:
  142. name: myrezerv-webapp-rootfiles
  143.  
  144. myrezerv-radmin-rootfiles:
  145. external:
  146. name: myrezerv-radmin-rootfiles
  147.  
  148. myrezerv-db-data:
  149. external:
  150. name: myrezerv-db-data
  151.  
  152. myrezerv-certs:
  153. external:
  154. name: myrezerv-certs
  155.  
  156. myrezerv-sitemap:
  157. external:
  158. name: myrezerv-sitemap
RAW Paste Data