Adapt to new bot structure

This commit is contained in:
Marco Realacci 2024-04-04 23:24:06 +02:00
parent ff7e08ada9
commit 3f84e1d831
3414 changed files with 41525 additions and 709 deletions

23
legacy/docker-compose.yml Normal file
View file

@ -0,0 +1,23 @@
# The configuration used to deploy the bot on the production server
# You can adapt it to create your own instance
version: '3.8'
services:
bot:
build: .
restart: unless-stopped
hostname: so-un-bot
# change to your local DNS zone (can be safely removed if not needed)
# for example: in the production server is pve-docer.net.mrlc.cc
domainname: ${DNS_ZONE}
pull_policy: build
environment:
# Leave /data unless you want to point to an external volume
- DATA_PATH=/data
# Should match the path defined in the volume mount (if you want it to persist)
- ACL_PATH=/acl
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
# User id of the administrator user (will receive logs for errors)
- TELEGRAM_ADMIN_ID=${TELEGRAM_ADMIN_ID}
volumes:
- ${ACL_DIR}:/acl