feat: dockerize

This commit is contained in:
2025-09-19 20:05:24 +03:00
parent a7e5d43423
commit 36270c7a3f
3 changed files with 51 additions and 0 deletions

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
services:
bot:
build:
context: .
dockerfile: Dockerfile
args:
BINARY_NAME: tg-relay-rs
environment:
TELOXIDE_TOKEN: ${TELOXIDE_TOKEN}
RUST_LOG: ${RUST_LOG:-info}
restart: unless-stopped
# If you need persistent storage (e.g. caching):
volumes:
- ./data:/app/data