2021-09-05 17:10:14 +00:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
tubearchivist:
|
|
|
|
container_name: tubearchivist
|
2022-07-03 10:23:02 +00:00
|
|
|
restart: unless-stopped
|
2022-07-03 11:20:30 +00:00
|
|
|
image: bbilly1/tubearchivist
|
2021-09-05 17:10:14 +00:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
volumes:
|
2022-01-10 00:54:23 +00:00
|
|
|
- media:/youtube
|
|
|
|
- cache:/cache
|
2021-09-05 17:10:14 +00:00
|
|
|
environment:
|
2022-04-15 10:56:17 +00:00
|
|
|
- ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port
|
|
|
|
- REDIS_HOST=archivist-redis # don't add protocol
|
2021-09-05 17:10:14 +00:00
|
|
|
- HOST_UID=1000
|
|
|
|
- HOST_GID=1000
|
2022-07-23 07:38:50 +00:00
|
|
|
- TA_HOST=tubearchivist.local # set your host name
|
2022-04-15 10:56:17 +00:00
|
|
|
- TA_USERNAME=tubearchivist # your initial TA credentials
|
|
|
|
- TA_PASSWORD=verysecret # your initial TA credentials
|
|
|
|
- ELASTIC_PASSWORD=verysecret # set password for Elasticsearch
|
|
|
|
- TZ=America/New_York # set your time zone
|
2021-09-05 17:10:14 +00:00
|
|
|
depends_on:
|
|
|
|
- archivist-es
|
|
|
|
- archivist-redis
|
|
|
|
archivist-redis:
|
2023-02-17 15:49:07 +00:00
|
|
|
image: redis/redis-stack-server
|
2021-09-05 17:10:14 +00:00
|
|
|
container_name: archivist-redis
|
2022-07-03 10:23:02 +00:00
|
|
|
restart: unless-stopped
|
2021-10-26 09:23:41 +00:00
|
|
|
expose:
|
|
|
|
- "6379"
|
2021-09-05 17:10:14 +00:00
|
|
|
volumes:
|
2022-01-10 00:54:23 +00:00
|
|
|
- redis:/data
|
2021-09-05 17:10:14 +00:00
|
|
|
depends_on:
|
|
|
|
- archivist-es
|
|
|
|
archivist-es:
|
2023-08-05 03:00:34 +00:00
|
|
|
image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.9.0
|
2021-09-05 17:10:14 +00:00
|
|
|
container_name: archivist-es
|
2022-07-03 10:23:02 +00:00
|
|
|
restart: unless-stopped
|
2021-09-05 17:10:14 +00:00
|
|
|
environment:
|
2022-04-15 10:56:17 +00:00
|
|
|
- "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password
|
2021-09-05 17:10:14 +00:00
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
2022-11-03 10:34:03 +00:00
|
|
|
- "xpack.security.enabled=true"
|
|
|
|
- "discovery.type=single-node"
|
|
|
|
- "path.repo=/usr/share/elasticsearch/data/snapshot"
|
2021-09-05 17:10:14 +00:00
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
volumes:
|
2022-04-15 10:56:17 +00:00
|
|
|
- es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
|
2021-10-26 09:23:41 +00:00
|
|
|
expose:
|
|
|
|
- "9200"
|
2022-01-10 00:54:23 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
media:
|
|
|
|
cache:
|
|
|
|
redis:
|
2022-02-09 16:38:18 +00:00
|
|
|
es:
|