change to tubearchivist-es, add comments

This commit is contained in:
simon 2022-04-15 17:56:17 +07:00
parent c5746089f5
commit 3d16954c79
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -11,19 +11,19 @@ services:
- media:/youtube - media:/youtube
- cache:/cache - cache:/cache
environment: environment:
- ES_URL=http://archivist-es:9200 - ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port
- REDIS_HOST=archivist-redis - REDIS_HOST=archivist-redis # don't add protocol
- HOST_UID=1000 - HOST_UID=1000
- HOST_GID=1000 - HOST_GID=1000
- TA_USERNAME=tubearchivist - TA_USERNAME=tubearchivist # your initial TA credentials
- TA_PASSWORD=verysecret - TA_PASSWORD=verysecret # your initial TA credentials
- ELASTIC_PASSWORD=verysecret - ELASTIC_PASSWORD=verysecret # set password for Elasticsearch
- TZ=America/New_York - TZ=America/New_York # set your time zone
depends_on: depends_on:
- archivist-es - archivist-es
- archivist-redis - archivist-redis
archivist-redis: archivist-redis:
image: redislabs/rejson:latest # For arm64 just update this line with bbilly1/rejson:latest image: redislabs/rejson:latest # for arm64 use bbilly1/rejson
container_name: archivist-redis container_name: archivist-redis
restart: always restart: always
expose: expose:
@ -33,12 +33,12 @@ services:
depends_on: depends_on:
- archivist-es - archivist-es
archivist-es: archivist-es:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1 image: bbilly1/tubearchivist-es # only for amd64, or use official es 7.17.2
container_name: archivist-es container_name: archivist-es
restart: always restart: always
environment: environment:
- "xpack.security.enabled=true" - "xpack.security.enabled=true"
- "ELASTIC_PASSWORD=verysecret" - "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password
- "discovery.type=single-node" - "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits: ulimits:
@ -46,7 +46,7 @@ services:
soft: -1 soft: -1
hard: -1 hard: -1
volumes: volumes:
- es:/usr/share/elasticsearch/data - es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
expose: expose:
- "9200" - "9200"