The image no longer installs the bot's dependencies: its CI builds one tar.gz holding the app plus a
vendor/ directory of prebuilt wheels, and PYTHONPATH=/app/vendor makes the code import them. A new
dependency therefore needs no image rebuild and the server contacts no package index.
- deployBotBundle.sh: install / --latest / --status / --rollback, verifies every file against BUILD.json
and keeps the previous release beside the live one.
- compose: mount ${BOT_APP_DIR:-/srv/bot/app} at /app, set DB_BACKEND, DATA_DIR, WEB_ALLOWED_GROUPS,
WEB_SERVE_UI and PYTHONPATH. bot/app placeholder untracked; install.sh creates /srv/bot/app.
- The placeholder requirements would have crashed the bot on import (no sqlglot), which is why the
image now ships none of them.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
14 lines
287 B
Plaintext
14 lines
287 B
Plaintext
# never commit real secrets; copy the templates and edit the copies on the server
|
|
*.local.*
|
|
__pycache__/
|
|
.env
|
|
bot/app/__pycache__/
|
|
*.pyc
|
|
# generated by configure.py on the server — never commit or scp these
|
|
mediamtx.yml
|
|
copyparty.conf
|
|
Caddyfile
|
|
stream-token.secret
|
|
deploy.env
|
|
bot/app/
|