mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-05 23:12:34 +02:00
Refactor repo structure
This commit is contained in:
parent
36ac339086
commit
8fc89fbc03
1732 changed files with 3812 additions and 67 deletions
|
@ -1,12 +1,22 @@
|
|||
# An example compose file to deploy the bot in a Docker environment
|
||||
# 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:
|
||||
image: 'sobot3'
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
hostname: so-un-bot
|
||||
domainname: pve-docker.net.mrlc.cc
|
||||
# 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}
|
||||
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:
|
||||
- ./:/App/ACL
|
||||
- /mnt/main/SSD/sobot_data/acl.json:/App/ACL/acl.json # Database might be stored on a different drive
|
||||
- ${ACL_DIR}:/acl
|
Loading…
Add table
Add a link
Reference in a new issue