-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·63 lines (59 loc) · 1.75 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Installation: https://github.com/tubearchivist/tubearchivist
services:
tubearchivist:
image: bbilly1/tubearchivist:v0.4.10
container_name: tubearchivist
restart: unless-stopped
ports:
- 8953:8000
volumes:
- /opt/appdata/tubearchivist/media:/youtube
- /opt/appdata/tubearchivist/cache:/cache
environment:
- ES_URL=${TUBEARCHIVIST_ES_URL}
- REDIS_HOST=${TUBEARCHIVIST_REDIS_HOST}
- HOST_UID=${TUBEARCHIVIST_HOST_UID}
- HOST_GID=${TUBEARCHIVIST_HOST_GID}
- TA_HOST=${TUBEARCHIVIST_TA_HOST}
- TA_USERNAME=${TUBEARCHIVIST_TA_USERNAME}
- TA_PASSWORD=${TUBEARCHIVIST_TA_PASSWORD}
- ELASTIC_PASSWORD=${TUBEARCHIVIST_ELASTIC_PASSWORD}
- TZ=${TUBEARCHIVIST_TZ}
depends_on:
- archivist-es
- archivist-redis
networks:
- proxy
archivist-redis:
image: redis/redis-stack-server
container_name: archivist-redis
hostname: archivist-redis
restart: unless-stopped
ports:
- 8952:6379
volumes:
- /opt/appdata/tubearchivist-redis:/data
depends_on:
- archivist-es
networks:
- proxy
archivist-es:
image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.7.0
container_name: archivist-es
restart: unless-stopped
environment:
- ELASTIC_PASSWORD=${ARCHIVIST_ES_ELASTIC_PASSWORD}
- ES_JAVA_OPTS=${ARCHIVIST_ES_ES_JAVA_OPTS}
- xpack.security.enabled=${ARCHIVIST_ES_xpack.security.enabled}
- discovery.type=${ARCHIVIST_ES_discovery.type}
- path.repo=${ARCHIVIST_ES_path.repo}
volumes:
- /opt/appdata/tubearchivist-es:/usr/share/elasticsearch/data
expose:
- '9200'
networks:
- proxy
networks:
proxy:
driver: bridge
external: true