Advertisement
Guest User

Untitled

a guest
Oct 28th, 2024
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. version: "3.5"
  2. services:
  3. tubearchivist:
  4. container_name: tubearchivist
  5. restart: unless-stopped
  6. image: bbilly1/tubearchivist
  7. ports:
  8. - 8300:8000
  9. volumes:
  10. - /Megadisk/media/YouTube:/youtube
  11. - /Megadisk/data/AppData/TubeArchivist:/cache
  12. environment:
  13. - ES_URL=http://archivist-es:9200
  14. - REDIS_HOST=archivist-redis
  15. - HOST_UID=1000
  16. - HOST_GID=1000
  17. - TA_HOST=tubearchivist.local
  18. - TA_USERNAME=SECRETUSERNAME
  19. - TA_PASSWORD=SECRETPASSWORDISSECRET
  20. - ELASTIC_PASSWORD=SECRETPASSWORDISSECRET
  21. - TZ=America/TIMEZONE
  22. healthcheck:
  23. test:
  24. - CMD
  25. - curl
  26. - -f
  27. - http://localhost:8000/health
  28. interval: 2m
  29. timeout: 10s
  30. retries: 3
  31. start_period: 30s
  32. depends_on:
  33. - archivist-es
  34. - archivist-redis
  35. archivist-redis:
  36. image: redis/redis-stack-server
  37. container_name: archivist-redis
  38. restart: unless-stopped
  39. expose:
  40. - "6379"
  41. volumes:
  42. - /Megadisk/data/AppData/TubeArchivist/redis:/data
  43. depends_on:
  44. - archivist-es
  45. archivist-es:
  46. image: bbilly1/tubearchivist-es
  47. container_name: archivist-es
  48. restart: unless-stopped
  49. environment:
  50. - ELASTIC_PASSWORD=SECRETPASSWORDISSECRET
  51. - ES_JAVA_OPTS=-Xms1g -Xmx1g
  52. - xpack.security.enabled=true
  53. - discovery.type=single-node
  54. - path.repo=/usr/share/elasticsearch/data/snapshot
  55. ulimits:
  56. memlock:
  57. soft: -1
  58. hard: -1
  59. volumes:
  60. - /Megadisk/data/AppData/TubeArchivist/elasticsearch:/usr/share/elasticsearch/data
  61. expose:
  62. - "9200"
  63. volumes:
  64. media: null
  65. cache: null
  66. redis: null
  67. es: null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement