From e27de3864bdc9e6ba287709fbc7fdb4b3e9e39b3 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Wed, 23 Sep 2020 20:11:36 +0200 Subject: [PATCH] [MapCareTech] Remove unsupported password option from createsuperuser command --- caretech/map/entrypoint.sh | 2 +- caretech/map/secrets/umap.secrets.example | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/caretech/map/entrypoint.sh b/caretech/map/entrypoint.sh index 7cd31032..0771a45f 100644 --- a/caretech/map/entrypoint.sh +++ b/caretech/map/entrypoint.sh @@ -26,7 +26,7 @@ umap collectstatic --noinput echo "Compress static files..." umap compress echo "Create superuser..." -umap createsuperuser --noinput --username ${SUPERUSER_LOGIN} --password ${SUPERUSER_PASSWORD} +umap createsuperuser --noinput --username ${SUPERUSER_LOGIN} --email ${SUPERUSER_EMAIL} echo "Launch uMap..." exec $@ diff --git a/caretech/map/secrets/umap.secrets.example b/caretech/map/secrets/umap.secrets.example index 07f86f62..61b30442 100644 --- a/caretech/map/secrets/umap.secrets.example +++ b/caretech/map/secrets/umap.secrets.example @@ -7,3 +7,4 @@ DATABASE_URL=postgis://user:password@umap-db-caretech/caretech # Superuser SUPERUSER_LOGIN=caretech SUPERUSER_PASSWORD= +SUPERUSER_EMAIL= -- GitLab