From 7e3f33a824f4a1451e312368d447b9925ac3f940 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 2 Oct 2023 11:30:52 +0200 Subject: [PATCH] ignore already created superuser --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 780ee2c..4d9ddc4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: && sleep 3 && python manage.py migrate && DJANGO_SUPERUSER_PASSWORD='root' python manage.py createsuperuser\ - --username root --noinput --email software@cscherr.de + --username root --noinput --email software@cscherr.de || true && python manage.py runserver 0.0.0.0:80 " volumes: