tubearchivist-frontend/docker-compose.yml

58 lines
1.3 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
- REDIS_HOST=archivist-redis
- HOST_UID=1000
- HOST_GID=1000
2021-10-25 12:28:05 +00:00
- TA_USERNAME=tubearchivist
- TA_PASSWORD=verysecret
2021-10-28 08:49:58 +00:00
- ELASTIC_PASSWORD=verysecret
2021-12-02 07:44:37 +00:00
- TZ=America/New_York
2021-09-05 17:10:14 +00:00
depends_on:
- archivist-es
- archivist-redis
archivist-redis:
image: redislabs/rejson:latest # For arm64 just update this line with bbilly1/rejson:latest
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:
2022-03-21 10:04:38 +00:00
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1
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"
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
2021-10-26 09:23:41 +00:00
expose:
- "9200"
volumes:
media:
cache:
redis:
2022-02-09 16:38:18 +00:00
es: