docker-compose.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. version: '3'
  2. volumes:
  3. files_ext_crm-media-programs:
  4. name: ${CONTAINER_NAME}_files_crm-media-programs
  5. driver: local
  6. driver_opts:
  7. type: volume
  8. o: 'bind'
  9. device: ${USERROOT_CRM_MEDIA_PROGRAMS}
  10. files_ext2:
  11. name: ${CONTAINER_NAME}_files_ext2
  12. driver: local
  13. driver_opts:
  14. type: volume
  15. o: 'bind'
  16. device: ${USERROOT_EXT2}
  17. files_larry:
  18. name: ${CONTAINER_NAME}_files_larry
  19. driver: local
  20. driver_opts:
  21. type: volume
  22. o: 'bind'
  23. device: ${USERROOT_LARRY}
  24. files_michelle:
  25. name: ${CONTAINER_NAME}_files_michelle
  26. driver: local
  27. driver_opts:
  28. type: volume
  29. o: 'bind'
  30. device: ${USERROOT_MICHELLE}
  31. files_jennifer:
  32. name: ${CONTAINER_NAME}_files_jennifer
  33. driver: local
  34. driver_opts:
  35. type: volume
  36. o: 'bind'
  37. device: ${USERROOT_JENNIFER}
  38. files_mindy:
  39. name: ${CONTAINER_NAME}_files_mindy
  40. driver: local
  41. driver_opts:
  42. type: volume
  43. o: 'bind'
  44. device: ${USERROOT_MINDY}
  45. files_player1:
  46. name: ${CONTAINER_NAME}_files_player1
  47. driver: local
  48. driver_opts:
  49. type: volume
  50. o: 'bind'
  51. device: ${USERROOT_PLAYER1}
  52. files:
  53. name: ${CONTAINER_NAME}_files
  54. driver: local
  55. db:
  56. name: ${CONTAINER_NAME}_db
  57. driver: local
  58. redis:
  59. name: ${CONTAINER_NAME}_redis
  60. driver: local
  61. es_index:
  62. name: ${CONTAINER_NAME}_es_index
  63. driver: local
  64. oo_data:
  65. name: ${CONTAINER_NAME}_oo_data
  66. driver: local
  67. clamav:
  68. name: ${CONTAINER_NAME}_clamav
  69. driver: local
  70. services:
  71. db:
  72. image: mariadb:11.4.2
  73. container_name: ${CONTAINER_NAME}_db
  74. command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
  75. restart: "no"
  76. volumes:
  77. - db:/var/lib/mysql
  78. # - db_r1:/var/lib/mysql
  79. environment:
  80. - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
  81. - MYSQL_PASSWORD=${MYSQL_PASSWORD}
  82. - MYSQL_DATABASE=nextcloud
  83. - MYSQL_USER=nextcloud
  84. redis:
  85. image: redis:7.2.4-alpine
  86. container_name: ${CONTAINER_NAME}_redis
  87. restart: "no"
  88. volumes:
  89. - redis:/var/lib/redis
  90. app:
  91. #image: nextcloud:30.0.4-apache
  92. image: nextcloud:30.0.17-apache
  93. container_name: ${CONTAINER_NAME}
  94. ports:
  95. - 1234:80
  96. links:
  97. - db
  98. - redis
  99. volumes:
  100. - files:/var/www/html
  101. - files_player1:/var/www/html/data/player1
  102. - files_mindy:/var/www/html/data/mindy
  103. - files_jennifer:/var/www/html/data/jennifer
  104. - files_michelle:/var/www/html/data/michelle
  105. - files_larry:/var/www/html/data/larry
  106. - files_ext2:/mnt/ext2
  107. - files_ext_crm-media-programs:/mnt/ext_crm-media-programs
  108. restart: "no"
  109. environment:
  110. - REDIS_HOST=redis
  111. - REDIS_PASSWORD=
  112. - PHP_MEMORY_LIMIT=1G
  113. - PHP_UPLOAD_LIMIT=12G
  114. devices:
  115. - /dev/dri:/dev/dri # VA-API (omit for NVENC)
  116. cron:
  117. # image: nextcloud:30.0.4-apache
  118. image: nextcloud:30.0.17-apache
  119. container_name: ${CONTAINER_NAME}_cron
  120. links:
  121. - db
  122. - redis
  123. volumes:
  124. - files:/var/www/html
  125. restart: "no"
  126. entrypoint: /cron.sh
  127. es01:
  128. # image: docker.elastic.co/elasticsearch/elasticsearch:7.17.23
  129. image: elasticsearch-ingest:latest
  130. container_name: ${CONTAINER_NAME}_es
  131. environment:
  132. - node.name=es01
  133. - discovery.type=single-node
  134. - bootstrap.memory_lock=true
  135. - "ES_JAVA_OPTS=-Xms1g -Xmx4g"
  136. ulimits:
  137. memlock:
  138. soft: -1
  139. hard: -1
  140. volumes:
  141. - es_index:/usr/share/elasticsearch/data
  142. restart: "no"
  143. ports:
  144. - 9200:9200
  145. av:
  146. container_name: ${CONTAINER_NAME}_clamav
  147. # image: mkodockx/docker-clamav:1.1.2-alpine
  148. image: nextcloud/aio-clamav:20251128_084214
  149. restart: "no"
  150. ports:
  151. - 3310:3310
  152. volumes:
  153. - clamav:/etc/clamav
  154. onlyoffice:
  155. container_name: ${CONTAINER_NAME}_onlyoffice
  156. image: onlyoffice/documentserver:latest
  157. restart: "no"
  158. environment:
  159. - JWT_SECRET=secret
  160. ports:
  161. - 9980:80
  162. volumes:
  163. - oo_data:/var/www/onlyoffice/Data
  164. - oo_data:/var/log/onlyoffice
  165. go-vod:
  166. container_name: ${CONTAINER_NAME}_govod
  167. image: radialapps/go-vod
  168. restart: "no"
  169. init: true
  170. depends_on:
  171. - app
  172. environment:
  173. - NEXTCLOUD_HOST=${NEXTCLOUD_HOST}
  174. # - NEXTCLOUD_ALLOW_INSECURE=1 # (self-signed certs or no HTTPS)
  175. - NVIDIA_VISIBLE_DEVICES=all
  176. devices:
  177. - /dev/dri:/dev/dri # VA-API (omit for NVENC)
  178. volumes:
  179. - files:/var/www/html:ro
  180. networks:
  181. default: