Auto-commit: v2.10 — Docker/compose hardening for Portainer on Pi
docker-compose.yml: - Add PYTHONIOENCODING=utf-8 env var (guarantees UTF-8 stdout in all Python environments, including Docker slim images on ARM). - Add logging driver section: json-file, max-size 10m, max-file 5. Without this the json-file log on a Raspberry Pi SD card grows unbounded and eventually kills the container or fills the disk. web/requirements_web.txt: - Pin huey==2.6.0 so a future pip upgrade cannot silently change the Consumer() API and re-introduce the loglevel= TypeError that caused all tasks to stay queued forever. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
flask
|
||||
flask-login
|
||||
flask-sqlalchemy
|
||||
huey
|
||||
huey==2.6.0
|
||||
werkzeug
|
||||
google-generativeai
|
||||
python-dotenv
|
||||
|
||||
Reference in New Issue
Block a user