Add TLC Search app to stack
Some checks failed
Deploy Stacks / deploy-prod (push) Has been skipped
Deploy Stacks / deploy-dev (push) Has been cancelled

Complete TLC stack now includes:
- rss-bridge: YouTube to RSS converter
- feed-master: RSS feed aggregator
- search: TLC Search Flask app (port 8088)

Requires Elasticsearch and Qdrant backends configured in .env

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-22 15:22:09 -05:00
parent 0cadd5d8d4
commit 194ed3b87f
2 changed files with 38 additions and 0 deletions

12
stacks/tlc/.env.template Normal file
View File

@@ -0,0 +1,12 @@
# Elasticsearch configuration
ELASTIC_URL=${ELASTIC_URL}
ELASTIC_INDEX=${ELASTIC_INDEX:-tlc-egre}
ELASTIC_API_KEY=${ELASTIC_API_KEY}
ELASTIC_VERIFY_CERTS=${ELASTIC_VERIFY_CERTS:-0}
# Qdrant configuration
QDRANT_URL=${QDRANT_URL}
QDRANT_COLLECTION=${QDRANT_COLLECTION:-tlc-captions-full}
QDRANT_VECTOR_NAME=${QDRANT_VECTOR_NAME:-}
QDRANT_VECTOR_SIZE=${QDRANT_VECTOR_SIZE:-1024}
QDRANT_EMBED_MODEL=${QDRANT_EMBED_MODEL:-BAAI/bge-large-en-v1.5}

View File

@@ -43,6 +43,32 @@ services:
networks:
- web
# TLC Search - Flask app for searching YouTube transcripts
search:
image: gitea.ghost.tel/knight/tlc-search:latest
container_name: tlc-search
hostname: tlc-search
restart: unless-stopped
depends_on:
- feed-master
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
env_file:
- .env
environment:
- RSS_FEED_URL=/rss/youtube-unified
- RSS_FEED_UPSTREAM=http://feed-master:8080
volumes:
- ./channels.yml:/app/python_app/channels.yml:ro
- ./data:/app/data:ro
ports:
- "8088:8080"
networks:
- web
networks:
web:
external: true