checker
This commit is contained in:
parent
0f850e3cdc
commit
a091a8ee13
@ -102,6 +102,23 @@ services:
|
|||||||
parallelism: 1
|
parallelism: 1
|
||||||
order: start-first
|
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:
|
storage:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
networks:
|
networks:
|
||||||
|
@ -9,6 +9,10 @@ http {
|
|||||||
proxy_pass http://rabbitmq:15672/;
|
proxy_pass http://rabbitmq:15672/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /checker/ {
|
||||||
|
proxy_pass http://checker:7999/;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://web:8000/;
|
proxy_pass http://web:8000/;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user