From b535d1c8f91509d050fad974e2e480a7a073605c Mon Sep 17 00:00:00 2001 From: Sajeyks Date: Fri, 16 Oct 2026 14:39:11 +0300 Subject: [PATCH] Document that the command can be overridden now --- DOCKER.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DOCKER.md b/DOCKER.md index 6a3e92d0..b1c64d53 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -73,7 +73,9 @@ One image, `dynamicweb:latest`, serves every role; the `ROLE` variable picks it - `celery`: the Celery worker - `migrate`: run the migrations and exit -Don't override `command:` or `args:` in Kubernetes; `ROLE` is all that is needed. +The entrypoint only picks the role, creates a secret key if `DJANGO_SECRET_KEY` is empty and waits for +Postgres. The settings read `POSTGRES_*` directly, so you can also override `command:` (for example +`python manage.py migrate` in an init container); then set `DJANGO_SECRET_KEY` yourself. See [K8S.md](K8S.md) for the Kubernetes deployment. ## Configuration