collect static
This commit is contained in:
parent
ba71a75b07
commit
58694188b8
@ -41,6 +41,26 @@ services:
|
|||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
|
collect_static:
|
||||||
|
image: mathwave/sprint-repo:sprint
|
||||||
|
command: ./manage.py collectstatic
|
||||||
|
networks:
|
||||||
|
- net
|
||||||
|
environment:
|
||||||
|
DB_HOST: "pg.develop.sprinthub.ru"
|
||||||
|
FS_HOST: "storage"
|
||||||
|
RABBIT_HOST: "rabbitmq.develop.sprinthub.ru"
|
||||||
|
REDIS_HOST: "redis.develop.sprinthub.ru"
|
||||||
|
RABBIT_PASSWORD: $RABBITMQ_PASSWORD_DEV
|
||||||
|
REDIS_PASSWORD: $REDIS_PASSWORD_DEV
|
||||||
|
DB_PASSWORD: $DB_PASSWORD_DEV
|
||||||
|
DEBUG: "true"
|
||||||
|
TELEGRAM_TOKEN: $TELEGRAM_TOKEN_DEV
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user