- Add /connections page showing all integrations with online/offline status - Add background health checker that polls Evotor API every 10 minutes - Add is_online and last_checked_at fields to evotor_connections table - Replace Evotor navbar link with unified Connections link - Redirect connect/disconnect flows to /connections - Add Alembic migration for new columns Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
679 B
YAML
28 lines
679 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.web
|
|
ports:
|
|
- "8080:8000"
|
|
environment:
|
|
- DATABASE_URL=mysql+pymysql://${DB_USER}:${DB_PASSWORD}@172.25.0.1:3306/${DB_NAME}
|
|
- SECRET_KEY=${SECRET_KEY:-change-me-in-production}
|
|
- BASE_URL=${BASE_URL:-http://localhost:8080}
|
|
volumes:
|
|
- ./web:/app/web
|
|
- ./alembic.ini:/app/alembic.ini
|
|
- ./docker-entrypoint.sh:/app/docker-entrypoint.sh
|
|
|
|
# sync:
|
|
# build:
|
|
# context: .
|
|
# dockerfile: Dockerfile
|
|
# volumes:
|
|
# - ./evo:/var/www/evo
|
|
# - ./vk:/var/www/vk
|
|
# - ./run:/var/www/run
|
|
# - ./logs:/var/www/logs
|