This commit is contained in:
Egor Matveev 2022-03-31 21:24:46 +03:00
parent 0f850e3cdc
commit a091a8ee13
2 changed files with 21 additions and 0 deletions

View File

@ -102,6 +102,23 @@ services:
parallelism: 1
order: start-first
checker:
image: mathwave/sprint-repo:sprint
networks:
- net
environment:
DB_PASSWORD: $DB_PASSWORD
DEBUG: $DEBUG
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
command: ./manage.py runserver 0.0.0.0:7999 --noreload
deploy:
mode: replicated
restart_policy:
condition: on-failure
update_config:
parallelism: 1
order: start-first
storage:
image: mathwave/sprint-repo:sprint
networks:

View File

@ -9,6 +9,10 @@ http {
proxy_pass http://rabbitmq:15672/;
}
location /checker/ {
proxy_pass http://checker:7999/;
}
location / {
proxy_pass http://web:8000/;
}