mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
**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:
1 parent
9b9db755e6
commit
147a3a54ef
9 files changed
+122
-92
No files matched your search
+5
-3
@@ -15,8 +15,10 @@ DB_DATABASE=cbwebreader
|
||||
# https://github.com/jacobian/dj-database-url
|
||||
DATABASE_URL=postgres://${DB_USER}:${DB_PASS}@${DB_HOST}/${DB_DATABASE}
|
||||
|
||||
#Path to your comics.
|
||||
COMIC_BOOK_VOLUME=/media/plex/comics
|
||||
# Path to your comics *inside* the container. Keep this as a container path.
|
||||
COMIC_BOOK_VOLUME=/comics
|
||||
# Host path that is mounted to the path above.
|
||||
COMIC_BOOK_HOST_PATH=/media/plex/comics
|
||||
|
||||
STATIC_ROOT='/static'
|
||||
|
||||
@@ -32,4 +34,4 @@ MEDIA_ROOT='/media'
|
||||
# DJANGO_RECAPTCHA_PUBLIC_KEY = ''
|
||||
|
||||
# Comment the following if not using a reverse proxy.
|
||||
USE_X_FORWARDED_HOST=True
|
||||
USE_X_FORWARDED_HOST=True
|
||||
Reference in new issue
Block a user