mikrotik-bot/docker-compose.yml
stakost 2b813f229c
Some checks failed
Build and Deploy MikroTik Bot / build-and-deploy (push) Has been cancelled
Add CI/CD pipeline and production docker-compose
2025-06-01 11:53:40 +03:00

23 lines
559 B
YAML

version: '3.8'
services:
mikrotik-bot:
image: 10.10.30.121:5000/mikrotik-bot:latest
container_name: mikrotik-bot
restart: unless-stopped
environment:
- BOT_TOKEN=your_bot_token_here
- ROUTER_HOST=your_router_ip_here
- ROUTER_USER=your_router_user_here
- ROUTER_PASSWORD=your_router_password_here
- DATABASE_PATH=/app/data/bot.db
volumes:
- ./data:/app/data
ports:
- "8000:8000" # FastAPI health endpoint
networks:
- bot-network
networks:
bot-network:
driver: bridge