collectstatic
This commit is contained in:
parent
e986aa7b62
commit
2c8fcea00e
@ -37,23 +37,23 @@ services:
|
|||||||
|
|
||||||
collect_static:
|
collect_static:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
environment:
|
environment:
|
||||||
SOLUTIONS_ROOT_EXTERNAL: "/sprint-data/data/solutions"
|
SOLUTIONS_ROOT_EXTERNAL: "/sprint-data/data/solutions"
|
||||||
DB_HOST: $DB_HOST
|
DB_HOST: $DB_HOST
|
||||||
DB_PASSWORD: $DB_PASSWORD
|
DB_PASSWORD: $DB_PASSWORD
|
||||||
RABBIT_HOST: $RABBIT_HOST
|
RABBIT_HOST: $RABBIT_HOST
|
||||||
FS_HOST: $FS_HOST
|
FS_HOST: $FS_HOST
|
||||||
DEBUG: $DEBUG
|
DEBUG: $DEBUG
|
||||||
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
|
||||||
volumes:
|
volumes:
|
||||||
- /sprint-data/static:/usr/src/app/static
|
- /sprint-data/static:/usr/src/app/static
|
||||||
command: ./manage.py collectstatic --noinput
|
command: ./manage.py collectstatic --noinput
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
|
Loading…
Reference in New Issue
Block a user