2
0

docker-compose.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. services:
  2. start:
  3. image: start
  4. build:
  5. context: start
  6. dockerfile: start.yml
  7. postfix:
  8. image: postfix
  9. depends_on:
  10. - start
  11. build:
  12. context: postfix
  13. dockerfile: postfix.yml
  14. redis:
  15. image: redis
  16. depends_on:
  17. - start
  18. build:
  19. context: redis
  20. dockerfile: redis.yml
  21. entrypoint: ['/bin/bash','/root/run.sh']
  22. restart: unless-stopped
  23. apache2:
  24. image: apache2
  25. depends_on:
  26. - postfix
  27. build:
  28. context: apache2
  29. dockerfile: apache2.yml
  30. php83-net012:
  31. image: php83
  32. depends_on:
  33. - apache2
  34. build:
  35. context: php
  36. dockerfile: php.yml
  37. args:
  38. PHP_VERSION: 8.3
  39. environment:
  40. TZ: Europe/Rome
  41. ports:
  42. - 10083:80
  43. - 10483:443
  44. volumes:
  45. - net012:/home/httpd
  46. entrypoint: ['/bin/bash','/root/run.sh']
  47. restart: unless-stopped
  48. php81-net012:
  49. image: php81
  50. depends_on:
  51. - apache2
  52. build:
  53. context: php
  54. dockerfile: php.yml
  55. args:
  56. PHP_VERSION: 8.1
  57. environment:
  58. TZ: Europe/Rome
  59. ports:
  60. - 10081:80
  61. - 10481:443
  62. volumes:
  63. - net012:/home/httpd
  64. entrypoint: ['/bin/bash','/root/run.sh']
  65. restart: unless-stopped
  66. php83-net060:
  67. image: php83
  68. depends_on:
  69. - apache2
  70. build:
  71. context: php
  72. dockerfile: php.yml
  73. args:
  74. PHP_VERSION: 8.3
  75. environment:
  76. TZ: Europe/Rome
  77. ports:
  78. - 11083:80
  79. - 11483:443
  80. volumes:
  81. - net060:/home/httpd
  82. entrypoint: ['/bin/bash','/root/run.sh']
  83. restart: unless-stopped
  84. php81-net060:
  85. image: php81
  86. depends_on:
  87. - apache2
  88. build:
  89. context: php
  90. dockerfile: php.yml
  91. args:
  92. PHP_VERSION: 8.1
  93. environment:
  94. TZ: Europe/Rome
  95. ports:
  96. - 11081:80
  97. - 11481:443
  98. volumes:
  99. - net060:/home/httpd
  100. entrypoint: ['/bin/bash','/root/run.sh']
  101. restart: unless-stopped
  102. volumes:
  103. net012:
  104. driver: local
  105. driver_opts:
  106. type: nfs
  107. o: "addr=10.132.0.12,soft,rw,noexec,nosuid,nodev,async"
  108. device: ":/home/httpd"
  109. net060:
  110. driver: local
  111. driver_opts:
  112. type: nfs
  113. o: "addr=10.132.0.60,soft,rw,noexec,nosuid,nodev,async"
  114. device: ":/home/httpd"