mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
**Improve database handling and disable redundant health checks**
- Added logic to construct `DATABASE_URL` from `DB_*` variables to prevent accidental fallback to SQLite during Docker Compose deployments. - Updated `DATABASES` configuration to use `dj_database_url.parse` instead of deprecated `config`. - Disabled health checks for services that do not expose a web port to avoid unnecessary probes. - Removed unused `libmariadb-dev` and `pkg-config` dependencies from the `Dockerfile`.
This commit is contained in:
1 parent
77a80dd322
commit
a9e9bfb480
4 files changed
+20
-2
No files matched your search
@@ -30,6 +30,9 @@ services:
|
||||
- ${COMIC_BOOK_HOST_PATH}:${COMIC_BOOK_VOLUME}
|
||||
- media_files:/media
|
||||
- .env:/src/.env
|
||||
# The image HEALTHCHECK probes the web port, which this service never serves.
|
||||
healthcheck:
|
||||
disable: true
|
||||
command: sh entrypoint-cron.sh
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
Reference in new issue
Block a user