Skip to main content

Tube Archivist

version: '3.3'

services:
  tubearchivist:
    container_name: tubearchivist
    restart: unless-stopped
    image: bbilly1/tubearchivist:latest
    ports:
      - 8010:8000
    volumes:
      - /srv/path/Files/TubeArchivist/media:/youtube
      - /srv/path/Files/TubeArchivist/cache:/cache
    environment:
      - ES_URL=http://archivist-es:9200
      - REDIS_HOST=archivist-redis
      - HOST_UID=998
      - HOST_GID=100
      - TA_USERNAME=xxxxx
      - TA_PASSWORD=xxxxxx
      - ELASTIC_PASSWORD=xxxxxx
    depends_on:
      - archivist-es
      - archivist-redis
  archivist-redis:
    image: redislabs/rejson:latest
    container_name: archivist-redis
    restart: unless-stopped
    expose:
      - "6379"
    volumes:
      - /srv/path/Files/TubeArchivist/redis:/data
    depends_on:
      - archivist-es
  archivist-es:
    image: bitnami/elasticsearch #original: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
    container_name: archivist-es
    restart: unless-stopped
    environment:
      - "xpack.security.enabled=true"
      - "ELASTIC_PASSWORD=xxxxxxx"
      - "discovery.type=single-node"
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - /srv/path/Files/TubeArchivist/es:/usr/share/elasticsearch/data
    expose:
      - "9200"