tubearchivist/docker-compose.yml

52 lines
1.3 KiB
YAML
Raw 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:
- ./volumes/tubearchivist/media:/youtube
- ./volumes/tubearchivist/cache:/cache
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
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:
- ./volumes/tubearchivist/redis:/data
depends_on:
- archivist-es
archivist-es:
2022-01-02 05:24:25 +00:00
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.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"
2021-09-05 17:10:14 +00:00
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./volumes/tubearchivist/es:/usr/share/elasticsearch/data
2021-10-26 09:23:41 +00:00
expose:
- "9200"