tubearchivist-frontend/docker-compose.yml

58 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2021-09-05 17:10:14 +00:00
version: '3.3'
services:
tubearchivist:
container_name: tubearchivist
restart: always
image: bbilly1/tubearchivist:latest
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:
image: redislabs/rejson:latest # for arm64 use bbilly1/rejson
2021-09-05 17:10:14 +00:00
container_name: archivist-redis
restart: always
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:
image: bbilly1/tubearchivist-es # only for amd64, or use official es 7.17.2
2021-09-05 17:10:14 +00:00
container_name: archivist-es
restart: always
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: