chore: import deployable mai-bot source tree
This commit is contained in:
31
deploy/server-maibot/README_DEPLOY_STEPS.txt
Normal file
31
deploy/server-maibot/README_DEPLOY_STEPS.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
Server runtime directory: /root/maibot-offline
|
||||
Release archive directory: /srv/maibot/releases
|
||||
|
||||
Repo-managed deployment files:
|
||||
- deploy/server-maibot/Dockerfile.offline
|
||||
- deploy/server-maibot/docker-entrypoint.offline.sh
|
||||
- deploy/server-maibot/docker-compose.server.yml
|
||||
- deploy/server-maibot/activate-release.sh
|
||||
- deploy/server-maibot/bot.lecspace.com.nginx.conf
|
||||
|
||||
Persistent files that stay on the server and do not go into Git:
|
||||
- /root/maibot-offline/docker-config/mmc/*
|
||||
- /root/maibot-offline/docker-config/napcat/*
|
||||
- /root/maibot-offline/data/*
|
||||
- /root/maibot-offline/depends-data/*
|
||||
- /root/maibot-offline/bot.lecspace.com.key
|
||||
- /root/maibot-offline/bot.lecspace.com_bundle.pem
|
||||
|
||||
Gitea workflow:
|
||||
- .gitea/workflows/release-offline.yml
|
||||
|
||||
Suggested Gitea secrets:
|
||||
- MAIBOT_RELEASE_HOST
|
||||
- MAIBOT_RELEASE_USER
|
||||
- MAIBOT_RELEASE_PORT
|
||||
- MAIBOT_RELEASE_ROOT
|
||||
- MAIBOT_RUNTIME_ROOT
|
||||
- MAIBOT_SSH_KEY
|
||||
- MAIBOT_GIT_REPO_URL (optional)
|
||||
- MAIBOT_GITEA_USER (optional)
|
||||
- MAIBOT_GITEA_TOKEN (optional)
|
||||
Reference in New Issue
Block a user