Add TLC Search app to stack
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:
12
stacks/tlc/.env.template
Normal file
12
stacks/tlc/.env.template
Normal 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}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user