Files
mai-bot/deploy/server-maibot/README_DEPLOY_STEPS.txt

33 lines
1.1 KiB
Plaintext

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
Current pipeline mode:
- single-host release on the repo-level `build-host` runner
- clones from local Gitea HTTP on `127.0.0.1:3000`
- stages source into `/srv/maibot/releases/<commit>`
- activates it into `/root/maibot-offline`
Optional environment overrides for the workflow runtime:
- `MAIBOT_RELEASE_ROOT`
- `MAIBOT_RUNTIME_ROOT`
No repository secrets are required for the default same-host pipeline.