Add tubearchivist compose file

This commit is contained in:
TheThomaas 2026-02-17 16:55:51 +01:00
parent 171acb1c83
commit 2cc8135a23

View file

@ -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