Create tubearchivist config
This commit is contained in:
parent
5f72b181e3
commit
aee7509dd7
|
|
@ -12,6 +12,7 @@ HOST_IP="192.168.1.100"
|
|||
WG_HOST=example.duckdns.org
|
||||
WG_DNS=1.1.1.1
|
||||
|
||||
DOCKER_IP=192.168.1.1
|
||||
DOMAIN=example.duckdns.org
|
||||
LOCAL_DOMAIN=local.example.duckdns.org
|
||||
GITEA_RUNNER_TOKEN=0123456789abcdef0123456789abcdef01234567
|
||||
|
|
@ -26,4 +27,8 @@ PGID=1000
|
|||
TZ="Europe/Zurich"
|
||||
|
||||
DELUGE_USER=username
|
||||
DELUGE_PASS=example
|
||||
DELUGE_PASS=example
|
||||
|
||||
TA_USER=username
|
||||
TA_PASS=example
|
||||
TA_ES_PASS=example
|
||||
63
tubearchivist/docker-compose.yml
Normal file
63
tubearchivist/docker-compose.yml
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
volumes:
|
||||
redis:
|
||||
es:
|
||||
|
||||
services:
|
||||
tubearchivist:
|
||||
image: bbilly1/tubearchivist
|
||||
container_name: tubearchivist
|
||||
volumes:
|
||||
# Config
|
||||
- $APPDATA/tubearchivist:/cache
|
||||
# Media
|
||||
- $MEDIADIR/youtube:/youtube
|
||||
environment:
|
||||
HOST_UID: $PUID
|
||||
HOST_GID: $PGID
|
||||
TZ: $TZ
|
||||
ES_URL: http://archivist-es:9200
|
||||
REDIS_HOST: archivist-redis
|
||||
TA_HOST: $DOCKER_IP
|
||||
TA_USERNAME: $TA_USER
|
||||
TA_PASSWORD: $TA_PASS
|
||||
ELASTIC_PASSWORD: $TA_ES_PASS
|
||||
ports:
|
||||
- 8200:8000
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
||||
interval: 2m
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
depends_on:
|
||||
- archivist-es
|
||||
- archivist-redis
|
||||
restart: unless-stopped
|
||||
archivist-redis:
|
||||
image: redis/redis-stack-server
|
||||
container_name: archivist-redis
|
||||
volumes:
|
||||
- redis:/data
|
||||
expose:
|
||||
- "6379"
|
||||
depends_on:
|
||||
- archivist-es
|
||||
restart: unless-stopped
|
||||
archivist-es:
|
||||
image: bbilly1/tubearchivist-es
|
||||
container_name: archivist-es
|
||||
volumes:
|
||||
- es:/usr/share/elasticsearch/data
|
||||
environment:
|
||||
ELASTIC_PASSWORD: $TA_ES_PASS
|
||||
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
|
||||
expose:
|
||||
- "9200"
|
||||
restart: unless-stopped
|
||||
Loading…
Reference in a new issue