LichessStatTgWeb/docker-compose.prod.yml
vrubelroman 75e62b57a1
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 43s
remove admin web panel (LichessWebView) from the project
Unused component that also carried several security issues (default
admin credentials, hardcoded Flask secret key, debug mode, plaintext
passwords). Cleaned up compose files, CI/CD pipeline, and docs
accordingly; also dropped the stale IS_PROD config docs in favor of
the current .env-based setup.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 18:32:06 +00:00

55 lines
1.3 KiB
YAML

services:
lichess-api:
image: 192.168.8.174:3000/vrubel/lichess-api:latest
container_name: lichess-api
ports:
- "8002:8000"
environment:
- PYTHONUNBUFFERED=1
restart: always
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health').read()"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
lichess-bot:
image: 192.168.8.174:3000/vrubel/lichess-bot:latest
container_name: lichess-telegram-bot
volumes:
- ./data:/app/data
env_file:
- .env
environment:
- PYTHONPATH=/app
- PYTHONUNBUFFERED=1
network_mode: "host"
restart: always
depends_on:
- lichess-api
healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8002/health', timeout=5)"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
admin-bot:
image: 192.168.8.174:3000/vrubel/lichess-admin:latest
container_name: lichess-admin-bot
volumes:
- ./data:/app/data
env_file:
- .env
environment:
- PYTHONPATH=/app
- PYTHONUNBUFFERED=1
network_mode: "host"
restart: always
depends_on:
- lichess-api
networks:
default:
name: lichess-network