fix: deploy
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# DEPLOYTIME=$(date +%s%3N)
|
||||
# Check if .env file exists
|
||||
if [ ! -f .env ]; then
|
||||
echo "Error: .env file not found in /var/www/owncloud"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
export $(cat .env | xargs)
|
||||
envsubst < docker-stack.yml | 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 \
|
||||
|
||||
Reference in New Issue
Block a user