Change API host port to 8002

This commit is contained in:
vrubelroman 2026-03-21 23:14:51 +03:00
parent 63e28c279c
commit 0e3a0bfc48
4 changed files with 7 additions and 9 deletions

View file

@ -4,7 +4,7 @@ services:
build: ./LichessWebServices
container_name: lichess-api
ports:
- "8001:8000"
- "8002:8000"
environment:
- PYTHONUNBUFFERED=1
volumes:
@ -32,7 +32,7 @@ services:
depends_on:
- lichess-api
healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8001/health', timeout=5)"]
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8002/health', timeout=5)"]
interval: 30s
timeout: 10s
retries: 3
@ -74,4 +74,3 @@ networks: