From 2cc8135a232fd7006dd2aa16456bbeca07569fda Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Tue, 17 Feb 2026 16:55:51 +0100 Subject: [PATCH] Add tubearchivist compose file --- tubearchivist/compose.yaml | 78 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 tubearchivist/compose.yaml diff --git a/tubearchivist/compose.yaml b/tubearchivist/compose.yaml new file mode 100644 index 0000000..ee13e0b --- /dev/null +++ b/tubearchivist/compose.yaml @@ -0,0 +1,78 @@ +# TODO +services: + tubearchivist: + image: bbilly1/tubearchivist:v0.5.9 + container_name: tubearchivist + volumes: + # Config + - $APPDATA/tubearchivist:/cache + # Media + - $MEDIADIR/youtube:/youtube + environment: + HOST_UID: $PUID + HOST_GID: $PGID + TZ: $TZ + ES_URL: http://archivist-es:9200 + REDIS_CON: redis://archivist-redis:6379 + TA_HOST: http://${DOCKER_IP}:8200 + TA_USERNAME: $TA_USER + TA_PASSWORD: $TA_PASS + ELASTIC_PASSWORD: $TA_ES_PASS + ports: + - 8200:8000 + # labels: + # - "traefik.enable=true" + # - "traefik.http.routers.tubearchivist.rule=Host(`tubearchivist.${LOCAL_DOMAIN}`)" + # - "traefik.http.routers.tubearchivist.entrypoints=https" + # - "traefik.http.routers.tubearchivist.tls=true" + # - "traefik.http.services.tubearchivist.loadbalancer.server.port=8000" + # networks: + # - proxy + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8000/health"] + interval: 2m + timeout: 10s + retries: 3 + start_period: 30s + depends_on: + - archivist-es + - archivist-redis + restart: unless-stopped + + archivist-redis: + image: redis + container_name: archivist-redis + volumes: + - redis:/data + expose: + - "6379" + depends_on: + - archivist-es + restart: unless-stopped + + archivist-es: + image: bbilly1/tubearchivist-es:8.19.0 + container_name: archivist-es + volumes: + - es:/usr/share/elasticsearch/data + environment: + ELASTIC_PASSWORD: $TA_ES_PASS + ES_JAVA_OPTS: -Xms1g -Xmx1g + xpack.security.enabled: true + discovery.type: single-node + path.repo: /usr/share/elasticsearch/data/snapshot + ulimits: + memlock: + soft: -1 + hard: -1 + expose: + - "9200" + restart: unless-stopped + +volumes: + redis: + es: + +# networks: +# proxy: +# external: true \ No newline at end of file