tvsignals-to-tg/docker-compose.yml
Artemii Peretiachenko 15efda5e0d Allow forum topic id in webhook URL path.
TradingView alerts can target different topics via /h/{secret}/{thread_id}
while keeping the same payload; bare /h/{secret} still uses the env default.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 20:22:55 +02:00

28 lines
571 B
YAML

services:
tvsignals:
build: .
ports:
- "8000:8000"
env_file:
- .env
environment:
HOST: "0.0.0.0"
PORT: "8000"
MPLBACKEND: Agg
restart: unless-stopped
networks:
default:
geryon:
aliases:
- tvsignals
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health')"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
networks:
geryon:
external: true
name: geryon-prod_geryon-prod