theocorp_docker_compose/tubearchivist/docker-compose.yml
geezo fcdd8ec832
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m22s
stuff
2025-05-09 20:15:07 -04:00

93 lines
1.8 KiB
YAML

version: '3'
services:
tubearchivist:
container_name: tubearchivist
restart: unless-stopped
image: bbilly1/tubearchivist:v0.5.0
ports:
- "1021:9000"
volumes:
- /home/geezo/nfs_shares/media/youtube:/youtube
- cache:/cache
environment:
ES_URL: http://archivist-es:9200
HOST_UID: 1000
HOST_GID: 1000
TA_HOST: http://theocorp:1021
TA_USERNAME: geezo
TA_PASSWORD: verysecret
ELASTIC_PASSWORD: verysecret
TZ: America/New_York
TA_PORT: 9000
REDIS_Con: redis://archivist-redis:6379
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 2m
timeout: 10s
retries: 3
start_period: 30s
depends_on:
- archivist-es
- archivist-redis
networks:
- yams_default
- default
archivist-redis:
image: redis/redis-stack-server
container_name: archivist-redis
restart: unless-stopped
expose:
- "6379"
volumes:
- redis:/data
depends_on:
- archivist-es
archivist-es:
image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.16.0
container_name: archivist-es
restart: unless-stopped
environment:
ELASTIC_PASSWORD: verysecret
ES_JAVA_OPTS: -Xms1g -Xmx1g
xpack.security.enabled: true
discovery.type: single-node
path.repo: /usr/share/elasticsearch/data/snapshot
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
expose:
- "9200"
volumes:
cache:
redis:
es:
networks:
yams_default:
external: true
default:
expose:
- "9200"
volumes:
cache:
redis:
es:
networks:
yams_default:
external: true
default: