ansible/playbooks/apps/files/charasheet/update
2024-10-11 17:18:53 +02:00

8 lines
212 B
Bash
Executable file

#!/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