ansible/playbooks/apps/files/charasheet/update

9 lines
212 B
Text
Raw Normal View History

2024-10-11 17:18:53 +02:00
#!/bin/bash
set -euxo pipefail
pushd /mnt/data/charasheet
docker compose --ansi never pull --quiet
docker compose --ansi never up -d
docker compose exec django python manage.py migrate
popd
docker image prune -f