runserver

This commit is contained in:
Egor Matveev 2022-01-19 19:40:34 +03:00
parent f74130a5a8
commit d4592f576c
2 changed files with 4 additions and 6 deletions

View File

@ -29,7 +29,7 @@ services:
environment: environment:
PORT: $PORT PORT: $PORT
HOST: $HOST HOST: $HOST
command: scripts/runserver.sh command: ./manage.py runserver 0.0.0.0:$PORT --noreload
ports: ports:
- "${PORT}:${PORT}" - "${PORT}:${PORT}"
depends_on: depends_on:
@ -40,7 +40,7 @@ services:
storage: storage:
restart: always restart: always
image: mathwave/sprint-repo:sprint image: mathwave/sprint-repo:sprint
command: python manage.py storage command: ./manage.py storage
ports: ports:
- "5555:5555" - "5555:5555"
volumes: volumes:
@ -51,7 +51,7 @@ services:
restart: always restart: always
environment: environment:
HOST: $HOST HOST: $HOST
command: python manage.py bot command: ./manage.py bot
depends_on: depends_on:
- web - web
@ -68,7 +68,7 @@ services:
restart: always restart: always
image: mathwave/sprint-repo:sprint image: mathwave/sprint-repo:sprint
privileged: true privileged: true
command: python manage.py receive command: ./manage.py receive
environment: environment:
SOLUTIONS_ROOT_EXTERNAL: "${SOLUTIONS_ROOT_EXTERNAL}" SOLUTIONS_ROOT_EXTERNAL: "${SOLUTIONS_ROOT_EXTERNAL}"
HOST: $HOST HOST: $HOST

View File

@ -1,2 +0,0 @@
python manage.py migrate
python manage.py runserver 0.0.0.0:$PORT --noreload