**Refactor Docker and Compose for enhanced compatibility and efficiency**

- Restructured `Dockerfile` to include a dedicated frontend build stage and improved runtime configurations.
- Added new health checks and adjusted environment variables for better container management.
- Updated cron job configurations to leverage `/opt/venv` and align with new paths.
- Refined `docker-compose` files for multi-service setups, including better volume and environment variable handling.
- Migrated `cbwebreader-cron` service setup and improved restart policies across the board.
- Enhanced `.gitea` CI workflow to use updated tools (`uv`), streamline buildx processes, and ensure proper version extraction from metadata.
This commit is contained in:
ajurna committed 2026-10-13 10:25:07 +01:00
1 parent 9b9db755e6
commit 147a3a54ef
9 files changed
+122 -92

No files matched your search

+5 -3
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env sh
uv run manage.py migrate --settings=cbreader.settings.base
set -e
uv run manage.py collectstatic --settings=cbreader.settings.base --noinput --clear
python manage.py migrate --settings=cbreader.settings.base
uv run gunicorn --workers 3 --bind 0.0.0.0:8000 cbreader.wsgi:application
python manage.py collectstatic --settings=cbreader.settings.base --noinput --clear
exec gunicorn --workers 3 --bind 0.0.0.0:8000 cbreader.wsgi:application