mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-15 08:30:13 +00:00
70506ad8f6
* updated redis rejson to use arm64 fork created by bbilly1 * added arm build as a comment instead of main option for rejson
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
version: '3.3'
|
|
|
|
services:
|
|
tubearchivist:
|
|
container_name: tubearchivist
|
|
restart: always
|
|
image: bbilly1/tubearchivist:latest
|
|
ports:
|
|
- 8000:8000
|
|
volumes:
|
|
- media:/youtube
|
|
- cache:/cache
|
|
environment:
|
|
- ES_URL=http://archivist-es:9200
|
|
- REDIS_HOST=archivist-redis
|
|
- HOST_UID=1000
|
|
- HOST_GID=1000
|
|
- TA_USERNAME=tubearchivist
|
|
- TA_PASSWORD=verysecret
|
|
- ELASTIC_PASSWORD=verysecret
|
|
- TZ=America/New_York
|
|
depends_on:
|
|
- archivist-es
|
|
- archivist-redis
|
|
archivist-redis:
|
|
image: redislabs/rejson:latest # For arm64 just update this line with bbilly1/rejson:latest
|
|
container_name: archivist-redis
|
|
restart: always
|
|
expose:
|
|
- "6379"
|
|
volumes:
|
|
- redis:/data
|
|
depends_on:
|
|
- archivist-es
|
|
archivist-es:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.0
|
|
container_name: archivist-es
|
|
restart: always
|
|
environment:
|
|
- "xpack.security.enabled=true"
|
|
- "ELASTIC_PASSWORD=verysecret"
|
|
- "discovery.type=single-node"
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
volumes:
|
|
- es:/usr/share/elasticsearch/data
|
|
expose:
|
|
- "9200"
|
|
|
|
volumes:
|
|
media:
|
|
cache:
|
|
redis:
|
|
es:
|