tubearchivist/docker-compose.yml

58 lines
1.6 KiB
YAML
Raw Normal View History

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:
- media:/youtube
- cache:/cache
2021-09-05 17:10:14 +00:00
environment:
- 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
- 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:
2022-07-03 11:20:30 +00:00
image: redislabs/rejson # for arm64 use bbilly1/rejson
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:
- redis:/data
2021-09-05 17:10:14 +00:00
depends_on:
- archivist-es
archivist-es:
2022-07-03 09:09:09 +00:00
image: bbilly1/tubearchivist-es # only for amd64, or use official es 7.17.4
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:
2021-10-28 08:49:58 +00:00
- "xpack.security.enabled=true"
- "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password
2021-09-05 17:10:14 +00:00
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- 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"
volumes:
media:
cache:
redis:
2022-02-09 16:38:18 +00:00
es: