docker-compose.11112025 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. services:
  2. homeassistant:
  3. image: ghcr.io/home-assistant/home-assistant:stable
  4. privileged: true
  5. restart: unless-stopped
  6. volumes:
  7. - /mnt/Data/Software/Homeassistant:/config
  8. - /run/dbus:/run/dbus:ro
  9. environment:
  10. TZ: Europe/Rome
  11. ports:
  12. - 8123:8123
  13. mariadb:
  14. image: local/mariadb
  15. build:
  16. dockerfile: ./mariadb/mariadb.yml
  17. volumes:
  18. - /home/MariaDb/var/lib/mysql:/var/lib/mysql
  19. restart: unless-stopped
  20. ports:
  21. - 3306:3306
  22. entrypoint: ['bin/bash','/root/mariadb.sh']
  23. environment:
  24. MARIADB_PASSWORD: "PassworD"
  25. console:
  26. image: console
  27. build:
  28. dockerfile: ./console/console.yml
  29. volumes:
  30. - /mnt/Data/Software/Shared_data:/home/shared_data
  31. - archivio_data:/mnt/Data
  32. entrypoint: ['bin/bash','/root/console.sh']
  33. restart: unless-stopped
  34. gogs:
  35. image: local/gogs
  36. build:
  37. dockerfile: ./gogs/gogs.yml
  38. volumes:
  39. - /mnt/Data/Software/Gogs:/home/gogs
  40. restart: unless-stopped
  41. ports:
  42. - 3000:3000
  43. entrypoint: ['bin/bash','/root/gogs.sh']
  44. wiki:
  45. image: wiki
  46. build:
  47. dockerfile: ./wiki/wiki.yml
  48. volumes:
  49. - /mnt/Data/Software/Wiki:/home/wiki
  50. restart: unless-stopped
  51. ports:
  52. - 3100:8080
  53. entrypoint: ['bin/bash','/root/wiki.sh']
  54. password:
  55. image: local/password
  56. build:
  57. dockerfile: ./password/password.yml
  58. volumes:
  59. - /mnt/Data/Software/Password:/home/password
  60. restart: unless-stopped
  61. ports:
  62. - 3020:3020
  63. entrypoint: ['bin/bash','/root/password.sh']
  64. environment:
  65. PASSWORDWEB_PORT: 0.0.0.0:3020
  66. PASSWORDWEB_FILE: /home/password/PasswordFiles/multiword.txt
  67. PASSWORDWEB_PIN: 8
  68. syncthing:
  69. image: local/syncthing
  70. build:
  71. dockerfile: ./syncthing/syncthing.yml
  72. volumes:
  73. - /home/Syncthing:/home/syncthing
  74. - archivio_data:/mnt/Data/Archivio
  75. - scansioni_data:/mnt/Data/Scansioni
  76. - software_data:/mnt/Data/Software
  77. restart: unless-stopped
  78. ports:
  79. - 8384:8384
  80. entrypoint: ['/bin/bash','/root/syncthing.sh']
  81. mqtt:
  82. image: local/mqtt
  83. build:
  84. dockerfile: ./mqtt/mqtt.yml
  85. restart: unless-stopped
  86. ports:
  87. - 1883:1883
  88. entrypoint: ['/bin/bash','/root/mqtt.sh']
  89. volumes:
  90. - mqtt_etc:/mnt/Software
  91. ftp:
  92. image: local/ftp
  93. build:
  94. dockerfile: ./ftp/ftp.yml
  95. ports:
  96. - 21:21
  97. - 49152-49352:49152-49352
  98. entrypoint: ['/bin/bash','/root/ftp.sh']
  99. volumes:
  100. - archivio_data:/mnt/Archivio
  101. restart: unless-stopped
  102. samba:
  103. image: local/samba
  104. build:
  105. dockerfile: ./samba/samba.yml
  106. volumes:
  107. - samba_etc:/etc/samba
  108. - samba_var:/var/lib/samba
  109. - archivio_data:/mnt/Data/Archivio
  110. - scansioni_data:/mnt/Data/Scansioni
  111. - gabriella_data:/mnt/Data/Gabriella
  112. restart: unless-stopped
  113. ports:
  114. - 445:445
  115. - 139:139
  116. entrypoint: ['/bin/bash','/root/samba.sh']
  117. #lychee:
  118. # image: local/lychee
  119. # build:
  120. # dockerfile: ./lychee/lychee.yml
  121. # depends_on:
  122. # - nginx
  123. # - php-fpm
  124. # #restart: unless-stopped
  125. volumes:
  126. mariadb_data:
  127. gogs_data:
  128. shared_data:
  129. password_data:
  130. syncthing_data:
  131. archivio_data:
  132. driver: local
  133. driver_opts:
  134. type: nfs
  135. o: "addr=127.0.0.1,soft,rw"
  136. device: ":/mnt/Data/Archivio"
  137. gabriella_data:
  138. driver: local
  139. driver_opts:
  140. type: nfs
  141. o: "addr=127.0.0.1,soft,rw"
  142. device: ":/mnt/Data/Gabriella"
  143. scansioni_data:
  144. driver: local
  145. driver_opts:
  146. type: nfs
  147. o: "addr=127.0.0.1,soft,rw"
  148. device: ":/mnt/Data/Scansioni"
  149. software_data:
  150. driver: local
  151. driver_opts:
  152. type: nfs
  153. o: "addr=127.0.0.1,soft,rw"
  154. device: ":/mnt/Data/Software"
  155. nextcloud_data:
  156. driver: local
  157. driver_opts:
  158. type: nfs
  159. o: "addr=127.0.0.1,soft,rw"
  160. device: ":/mnt/Data/Software/Nextcloud_data"
  161. nextcloud_etc:
  162. driver: local
  163. driver_opts:
  164. type: nfs
  165. o: "addr=127.0.0.1,soft,rw"
  166. device: ":/mnt/Data/Software/Nextcloud_etc"
  167. mqtt_etc:
  168. driver: local
  169. driver_opts:
  170. type: nfs
  171. o: "addr=127.0.0.1,soft,rw"
  172. device: ":/mnt/Data/Software"
  173. samba_etc:
  174. driver: local
  175. driver_opts:
  176. type: nfs
  177. o: "addr=127.0.0.1,soft,rw"
  178. device: ":/mnt/Data/Software/Samba_CC/etc"
  179. samba_var:
  180. driver: local
  181. driver_opts:
  182. type: nfs
  183. o: "addr=127.0.0.1,soft,rw"
  184. device: ":/mnt/Data/Software/Samba_CC/var"