Update docker-compose.yml

Add TA_HOST variable
Swapped docker image "bbilly1/rejson" to official Redis docker image for arm64 "redis/redis-stack-server"
Updated the archivist-es container image from 7.15.1 to 8.9.0
Add path.repo variable
Add volumes list
This commit is contained in:
Vinicius Paes
2023-09-27 11:59:55 -03:00
committed by GitHub
parent 6ce69bf9a7
commit bafd7d4a5b

View File

@@ -3,7 +3,7 @@ version: '3.3'
services:
tubearchivist:
container_name: tubearchivist
restart: always
restart: unless-stopped
image: bbilly1/tubearchivist:latest
ports:
- 8000:8000
@@ -15,16 +15,18 @@ services:
- REDIS_HOST=archivist-redis
- HOST_UID=1000
- HOST_GID=1000
- TA_HOST=tubearchivist.local # set your host name (if you get Bad Request (400) error, change TA_HOST for your IP Address)
- TA_USERNAME=tubearchivist # Change login username
- TA_PASSWORD=secret # Change login password
- ELASTIC_PASSWORD=verysecret # Change ElasticSearch password
- TZ=America/New_York # set your time zone
depends_on:
- archivist-es
- archivist-redis
archivist-redis:
image: bbilly1/rejson
image: redis/redis-stack-server
container_name: archivist-redis
restart: always
restart: unless-stopped
expose:
- "6379"
volumes:
@@ -32,19 +34,25 @@ services:
depends_on:
- archivist-es
archivist-es:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.1
image: docker.elastic.co/elasticsearch/elasticsearch:8.9.0
container_name: archivist-es
restart: always
environment:
- "xpack.security.enabled=true"
- "ELASTIC_PASSWORD=verysecret" # Change ElasticSearch password (Must be same as above)
- "discovery.type=single-node"
- "ELASTIC_PASSWORD=verysecret" # 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
volumes:
- /home/pi/volumes/tubearchivist/es:/usr/share/elasticsearch/data
- /home/pi/volumes/tubearchivist/es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
expose:
- "9200"
- "9200"
volumes:
media: # do not update this field
cache: # do not update this field
redis: # do not update this field
es: # do not update this field