70 lines
2.1 KiB
YAML
70 lines
2.1 KiB
YAML
version: '3.3'
|
|
|
|
services:
|
|
tubesync:
|
|
container_name: tubesync
|
|
image: ghcr.io/meeb/tubesync:latest
|
|
environment:
|
|
- TZ=${TZ}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
ports:
|
|
- 4848:4848
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${DOCKERCONFIGS}/tubesync/config:/config
|
|
- ${MEDIA_DIR}/downloads/youtubedl:/downloads
|
|
|
|
tubearchivist:
|
|
container_name: tubearchivist
|
|
image: bbilly1/tubearchivist
|
|
environment:
|
|
- ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port
|
|
- REDIS_HOST=archivist-redis # don't add protocol
|
|
- HOST_UID=${PUID}
|
|
- HOST_GID=${PGID}
|
|
- TA_HOST=192.168.1.33 # set your host name
|
|
- TA_USERNAME=${ADMIN_USERNAME} # your initial TA credentials
|
|
- TA_PASSWORD=${ADMIN_PASSWORD} # your initial TA credentials
|
|
- ELASTIC_PASSWORD=${ADMIN_PASSWORD} # set password for Elasticsearch
|
|
- TZ=${TZ} # set your time zone
|
|
depends_on:
|
|
- archivist-es
|
|
- archivist-redis
|
|
ports:
|
|
- 8000:8000
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${MEDIA_DIR}/downloads/youtubedl:/youtube
|
|
- ${MEDIA_DIR}/downloads/youtubedlcache:/cache
|
|
|
|
archivist-redis:
|
|
container_name: archivist-redis
|
|
image: redis/redis-stack-server
|
|
depends_on:
|
|
- archivist-es
|
|
expose:
|
|
- "6379"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${DOCKERCONFIGS}/tubearchivist/redis:/data
|
|
|
|
archivist-es:
|
|
container_name: archivist-es
|
|
image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.7.0
|
|
environment:
|
|
- "ELASTIC_PASSWORD=${ADMIN_PASSWORD}" # 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
|
|
expose:
|
|
- "9200"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${DOCKERCONFIGS}/tubearchivist/es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
|