first commit

This commit is contained in:
2023-12-24 20:15:46 +01:00
commit 8dbaea8202
3 changed files with 82 additions and 0 deletions

8
deploy.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# DEPLOYTIME=$(date +%s%3N)
sudo docker stack deploy selfhosted-owncloud --compose-file=docker-stack.yml --with-registry-auth --resolve-image always
# curl -X POST https://log.spares.nu/api/annotations \
# -H "Authorization: Bearer eyJrIjoiOGNhQVM5SkNaaEFlQ1FkTDFJNTdPNzhFazVuTko0TTEiLCJuIjoiZGVwbG95IiwiaWQiOjF9" \
# -H "Content-Type: application/json" \
# -d "{\"time\":${DEPLOYTIME},\"timeEnd\":${DEPLOYTIME},\"tags\":[\"deploy\"],\"text\":\"Docker Stack Deploy\"}"; echo