Files
worktimeBot/docker-compose.yml
db123 0be03f7078 chore: connect bot container to proxy_net for nginx reverse-proxy
This allows nginx-edge to reach the bot via service name
on the shared proxy_net external network.
2026-06-23 21:42:45 +03:30

26 lines
486 B
YAML

services:
worktime-bot:
build:
context: .
args:
HTTP_PROXY: http://192.168.100.2:10808
HTTPS_PROXY: http://192.168.100.2:10808
env_file:
- .env
environment:
- BOT_TOKEN=${BOT_TOKEN}
- HTTP_PROXY=${HTTP_PROXY-}
- HTTPS_PROXY=${HTTPS_PROXY-}
- DB_PATH=/data/db.sqlite3
volumes:
- worktime_data:/data
networks:
default:
name: proxy_net
external: true
volumes:
worktime_data:
driver: local