Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. version: '3.5'
  2.  
  3. services:
  4.  
  5. php:
  6. image: easyengine/php:v4.0.0
  7. restart: always
  8. labels:
  9. - "io.easyengine.site=${VIRTUAL_HOST}"
  10. volumes:
  11. - "htdocs:/var/www"
  12. - "config_php:/usr/local/etc"
  13. - "log_php:/var/log/php"
  14. environment:
  15. - WORDPRESS_DB_HOST
  16. - WORDPRESS_DB_NAME
  17. - WORDPRESS_DB_USER
  18. - WORDPRESS_DB_PASSWORD
  19. - USER_ID
  20. - GROUP_ID
  21. - VIRTUAL_HOST
  22. external_links:
  23. - services_global-nginx-proxy_1:${VIRTUAL_HOST}
  24. networks:
  25. site-network:
  26. aliases:
  27. - ${VIRTUAL_HOST}_php
  28. global-backend-network:
  29.  
  30. nginx:
  31. image: easyengine/nginx:v4.0.0
  32. depends_on:
  33. - php
  34. restart: always
  35. labels:
  36. - "io.easyengine.site=${VIRTUAL_HOST}"
  37. volumes:
  38. - "htdocs:/var/www"
  39. - "config_nginx:/usr/local/openresty/nginx/conf"
  40. - "log_nginx:/var/log/nginx"
  41. environment:
  42. - VIRTUAL_HOST
  43. - VIRTUAL_PATH=/
  44. - HSTS=off
  45. external_links:
  46. - services_global-nginx-proxy_1:${VIRTUAL_HOST}
  47. networks:
  48. global-frontend-network:
  49. site-network:
  50.  
  51. mailhog:
  52. image: easyengine/mailhog:v4.0.0
  53. restart: always
  54. command: ["-invite-jim=false"]
  55. labels:
  56. - "io.easyengine.site=${VIRTUAL_HOST}"
  57. environment:
  58. - VIRTUAL_HOST
  59. - VIRTUAL_PATH=/ee-admin/mailhog/
  60. - VIRTUAL_PORT=8025
  61. external_links:
  62. - services_global-nginx-proxy_1:${VIRTUAL_HOST}
  63. networks:
  64. site-network:
  65. global-frontend-network:
  66.  
  67. postfix:
  68. image: easyengine/postfix:v4.0.0
  69. hostname: ${VIRTUAL_HOST}
  70. restart: always
  71. labels:
  72. - "io.easyengine.site=${VIRTUAL_HOST}"
  73. volumes:
  74. - "/dev/log:/dev/log"
  75. - "data_postfix:/var/spool/postfix"
  76. - "ssl_postfix:/etc/ssl/postfix"
  77. - "config_postfix:/etc/postfix"
  78. external_links:
  79. - services_global-nginx-proxy_1:${VIRTUAL_HOST}
  80. networks:
  81. site-network:
  82.  
  83.  
  84. volumes:
  85. htdocs:
  86. external:
  87. name: exoticospet_htdocs
  88. config_nginx:
  89. external:
  90. name: exoticospet_config_nginx
  91. config_php:
  92. external:
  93. name: exoticospet_config_php
  94. log_php:
  95. external:
  96. name: exoticospet_log_php
  97. log_nginx:
  98. external:
  99. name: exoticospet_log_nginx
  100. data_postfix:
  101. external:
  102. name: exoticospet_data_postfix
  103. ssl_postfix:
  104. external:
  105. name: exoticospet_ssl_postfix
  106. config_postfix:
  107. external:
  108. name: exoticospet_config_postfix
  109.  
  110. networks:
  111. site-network:
  112. name: ${VIRTUAL_HOST}
  113. labels:
  114. - "org.label-schema.vendor=EasyEngine"
  115. - "io.easyengine.site=${VIRTUAL_HOST}"
  116. global-frontend-network:
  117. external:
  118. name: ee-global-frontend-network
  119. global-backend-network:
  120. external:
  121. name: ee-global-backend-network
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement