docker-compose.yml-rm-ext1 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. version: '3'
  2. volumes:
  3. files_ext2:
  4. name: ${CONTAINER_NAME}_files_ext2
  5. driver: local
  6. driver_opts:
  7. type: volume
  8. o: 'bind'
  9. device: ${USERROOT_EXT2}
  10. files_ext1:
  11. name: ${CONTAINER_NAME}_files_ext1
  12. driver: local
  13. driver_opts:
  14. type: volume
  15. o: 'bind'
  16. device: ${USERROOT_EXT1}
  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-ffmpeg-image:latest
  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_ext1:/mnt/ext1
  107. - files_ext2:/mnt/ext2
  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. container_name: ${CONTAINER_NAME}_cron
  119. links:
  120. - db
  121. - redis
  122. volumes:
  123. - files:/var/www/html
  124. restart: "no"
  125. entrypoint: /cron.sh
  126. es01:
  127. # image: docker.elastic.co/elasticsearch/elasticsearch:7.17.23
  128. image: elasticsearch-ingest:latest
  129. container_name: ${CONTAINER_NAME}_es
  130. environment:
  131. - node.name=es01
  132. - discovery.type=single-node
  133. ulimits:
  134. memlock:
  135. soft: -1
  136. hard: -1
  137. volumes:
  138. - es_index:/usr/share/elasticsearch/data
  139. restart: "no"
  140. ports:
  141. - 9200:9200
  142. av:
  143. container_name: ${CONTAINER_NAME}_clamav
  144. image: mkodockx/docker-clamav:alpine
  145. restart: "no"
  146. ports:
  147. - 3310:3310
  148. volumes:
  149. - clamav:/etc/clamav
  150. onlyoffice:
  151. container_name: ${CONTAINER_NAME}_onlyoffice
  152. image: onlyoffice/documentserver:latest
  153. restart: "no"
  154. environment:
  155. - JWT_SECRET=secret
  156. ports:
  157. - 9980:80
  158. volumes:
  159. - oo_data:/var/www/onlyoffice/Data
  160. - oo_data:/var/log/onlyoffice
  161. go-vod:
  162. container_name: ${CONTAINER_NAME}_govod
  163. image: radialapps/go-vod
  164. restart: "no"
  165. init: true
  166. depends_on:
  167. - app
  168. environment:
  169. - NEXTCLOUD_HOST=${NEXTCLOUD_HOST}
  170. # - NEXTCLOUD_ALLOW_INSECURE=1 # (self-signed certs or no HTTPS)
  171. - NVIDIA_VISIBLE_DEVICES=all
  172. devices:
  173. - /dev/dri:/dev/dri # VA-API (omit for NVENC)
  174. volumes:
  175. - files:/var/www/html:ro
  176. networks:
  177. default: