mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-25 00:38:04 +01:00
10 lines
268 B
Text
10 lines
268 B
Text
|
#!/bin/bash
|
||
|
set -euxo pipefail
|
||
|
pushd /mnt/data/checkout
|
||
|
docker compose --ansi never pull --quiet
|
||
|
docker compose --ansi never up -d
|
||
|
docker compose exec django python manage.py migrate
|
||
|
docker compose exec django python manage.py refresh_cache
|
||
|
popd
|
||
|
docker image prune -f
|