docker-compose.09092025 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. password:
  45. image: local/password
  46. build:
  47. dockerfile: ./password/password.yml
  48. volumes:
  49. - /mnt/Data/Software/Password:/home/password
  50. restart: unless-stopped
  51. ports:
  52. - 3020:3020
  53. entrypoint: ['bin/bash','/root/password.sh']
  54. environment:
  55. PASSWORDWEB_PORT: 0.0.0.0:3020
  56. PASSWORDWEB_FILE: /home/password/PasswordFiles/multiword.txt
  57. PASSWORDWEB_PIN: 8
  58. syncthing:
  59. image: local/syncthing
  60. build:
  61. dockerfile: ./syncthing/syncthing.yml
  62. volumes:
  63. - /home/Syncthing:/home/syncthing
  64. - archivio_data:/mnt/Data/Archivio
  65. - scansioni_data:/mnt/Data/Scansioni
  66. - software_data:/mnt/Data/Software
  67. restart: unless-stopped
  68. ports:
  69. - 8384:8384
  70. entrypoint: ['/bin/bash','/root/syncthing.sh']
  71. mqtt:
  72. image: local/mqtt
  73. build:
  74. dockerfile: ./mqtt/mqtt.yml
  75. restart: unless-stopped
  76. ports:
  77. - 1883:1883
  78. entrypoint: ['/bin/bash','/root/mqtt.sh']
  79. volumes:
  80. - mqtt_etc:/mnt/Software
  81. ftp:
  82. image: local/ftp
  83. build:
  84. dockerfile: ./ftp/ftp.yml
  85. ports:
  86. - 21:21
  87. - 49152-49352:49152-49352
  88. entrypoint: ['/bin/bash','/root/ftp.sh']
  89. volumes:
  90. - archivio_data:/mnt/Archivio
  91. restart: unless-stopped
  92. #lychee:
  93. # image: local/lychee
  94. # build:
  95. # dockerfile: ./lychee/lychee.yml
  96. # depends_on:
  97. # - nginx
  98. # - php-fpm
  99. # #restart: unless-stopped
  100. volumes:
  101. mariadb_data:
  102. gogs_data:
  103. shared_data:
  104. password_data:
  105. syncthing_data:
  106. archivio_data:
  107. driver: local
  108. driver_opts:
  109. type: nfs
  110. o: "addr=127.0.0.1,soft,rw"
  111. device: ":/mnt/Data/Archivio"
  112. scansioni_data:
  113. driver: local
  114. driver_opts:
  115. type: nfs
  116. o: "addr=127.0.0.1,soft,rw"
  117. device: ":/mnt/Data/Scansioni"
  118. software_data:
  119. driver: local
  120. driver_opts:
  121. type: nfs
  122. o: "addr=127.0.0.1,soft,rw"
  123. device: ":/mnt/Data/Software"
  124. nextcloud_data:
  125. driver: local
  126. driver_opts:
  127. type: nfs
  128. o: "addr=127.0.0.1,soft,rw"
  129. device: ":/mnt/Data/Software/Nextcloud_data"
  130. nextcloud_etc:
  131. driver: local
  132. driver_opts:
  133. type: nfs
  134. o: "addr=127.0.0.1,soft,rw"
  135. device: ":/mnt/Data/Software/Nextcloud_etc"
  136. mqtt_etc:
  137. driver: local
  138. driver_opts:
  139. type: nfs
  140. o: "addr=127.0.0.1,soft,rw"
  141. device: ":/mnt/Data/Software"