docker-compose.yml-duplicati 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. version: '3'
  2. volumes:
  3. files_player1:
  4. name: ${CONTAINER_NAME}_files_player1
  5. driver: local
  6. driver_opts:
  7. type: volume
  8. o: 'bind'
  9. device: "/media/orbitzs/nextcloud_files/apex/player1"
  10. files:
  11. name: ${CONTAINER_NAME}_files
  12. driver: local
  13. driver_opts:
  14. type: volume
  15. o: 'bind'
  16. device: "${DATA_VOLUME_ROOT}/data"
  17. db:
  18. name: ${CONTAINER_NAME}_db
  19. driver: local
  20. redis:
  21. name: ${CONTAINER_NAME}_redis
  22. driver: local
  23. es_index:
  24. name: ${CONTAINER_NAME}_es_index
  25. driver: local
  26. es_root:
  27. name: ${CONTAINER_NAME}_es_root
  28. driver: local
  29. oo_data:
  30. name: ${CONTAINER_NAME}_oo_data
  31. driver: local
  32. clamav:
  33. name: ${CONTAINER_NAME}_clamav
  34. driver: local
  35. duplicati_backups:
  36. name: ${CONTAINER_NAME}_duplicati
  37. driver: local
  38. driver_opts:
  39. type: volume
  40. o: 'bind'
  41. device: "${DUPLICATI_BACKUP_LOC}"
  42. services:
  43. duplicati:
  44. container_name: ${CONTAINER_NAME}_duplicati
  45. image: duplicati/duplicati:latest
  46. environment:
  47. PUID: 0
  48. PGID: 0
  49. TZ: Asia/Hong_Kong
  50. CLI_ARGS: "" # optional
  51. SETTINGS_ENCRYPTION_KEY: "secret1234"
  52. DUPLICATI__WEBSERVICE_PASSWORD: "123456" #optional
  53. volumes:
  54. - ./duplicati/appdata/config:/config
  55. - duplicati_backups:/backups
  56. - files:/source/data
  57. ports:
  58. - 8300:8200