From d4592f576cad2b03a0f81ed59f952d9e0fe76e07 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Wed, 19 Jan 2022 19:40:34 +0300 Subject: [PATCH] runserver --- docker-compose.yaml | 8 ++++---- scripts/runserver.sh | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) delete mode 100755 scripts/runserver.sh diff --git a/docker-compose.yaml b/docker-compose.yaml index b33fb95..b84d335 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -29,7 +29,7 @@ services: environment: PORT: $PORT HOST: $HOST - command: scripts/runserver.sh + command: ./manage.py runserver 0.0.0.0:$PORT --noreload ports: - "${PORT}:${PORT}" depends_on: @@ -40,7 +40,7 @@ services: storage: restart: always image: mathwave/sprint-repo:sprint - command: python manage.py storage + command: ./manage.py storage ports: - "5555:5555" volumes: @@ -51,7 +51,7 @@ services: restart: always environment: HOST: $HOST - command: python manage.py bot + command: ./manage.py bot depends_on: - web @@ -68,7 +68,7 @@ services: restart: always image: mathwave/sprint-repo:sprint privileged: true - command: python manage.py receive + command: ./manage.py receive environment: SOLUTIONS_ROOT_EXTERNAL: "${SOLUTIONS_ROOT_EXTERNAL}" HOST: $HOST diff --git a/scripts/runserver.sh b/scripts/runserver.sh deleted file mode 100755 index 2592052..0000000 --- a/scripts/runserver.sh +++ /dev/null @@ -1,2 +0,0 @@ -python manage.py migrate -python manage.py runserver 0.0.0.0:$PORT --noreload \ No newline at end of file