Skip to content

Instantly share code, notes, and snippets.

@pegasusearl
Created November 18, 2023 11:28
Show Gist options
  • Select an option

  • Save pegasusearl/7d3c92932957c3859154d18e5d61facd to your computer and use it in GitHub Desktop.

Select an option

Save pegasusearl/7d3c92932957c3859154d18e5d61facd to your computer and use it in GitHub Desktop.
TubeArchivist
version: '3.3'
services:
tubearchivist:
container_name: tubearchivist
restart: unless-stopped
image: bbilly1/tubearchivist
ports:
- 3003:8000
volumes:
- /mnt/warehouse/DockerData/TubeArchivist/Media:/youtube
- /mnt/warehouse/DockerData/TubeArchivist/Cache:/cache
environment:
- ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port
- REDIS_HOST=archivist-redis # don't add protocol
- HOST_UID=1000
- HOST_GID=1000
- TA_HOST=localhost # set your host name
- TA_USERNAME=tubearchivist # your initial TA credentials
- TA_PASSWORD=verysecret # your initial TA credentials
- ELASTIC_PASSWORD=verysecret # set password for Elasticsearch
- TZ=Asia/Jakarta # set your time zone
depends_on:
- archivist-es
- archivist-redis
archivist-redis:
image: redis/redis-stack-server
container_name: archivist-redis
restart: unless-stopped
expose:
- "6379"
volumes:
- /mnt/warehouse/DockerData/TubeArchivist/Redis:/data
depends_on:
- archivist-es
archivist-es:
image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.7.0
container_name: archivist-es
restart: unless-stopped
environment:
- "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "xpack.security.enabled=true"
- "discovery.type=single-node"
- "path.repo=/usr/share/elasticsearch/data/snapshot"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
expose:
- "9200"
volumes:
media:
cache:
redis:
es:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment