From e5ec1c9c5656c811cc2fbd2ac4d0ba651a1719bf Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Tue, 12 Sep 2023 22:06:27 +0800 Subject: [PATCH] Improved docker-compose file commandset --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3d71014..aeb3df5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: - "8083:8000" # Expose port 8083 for the web server environment: - PYTHONBUFFERED=1 - command: ["sh", "-c", "python stude/wait_for_redis.py && python stude/manage.py runserver"] + command: ["sh", "-c", "python stude/manage.py custom_migrate && python stude/wait_for_redis.py && python stude/manage.py runserver"] volumes: - .:/code # For hotreloading depends_on: