1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-04-14 03:32:01 +02:00

Update the Docker update script to detect usage of simple Docker image

This commit is contained in:
Kovah 2021-03-06 20:34:09 +01:00
parent 312b5fdca5
commit 5786ccc750
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B

View File

@ -31,7 +31,11 @@ printf "\n> Deleting the application container volume...\n"
docker volume rm linkace_linkace_app
printf "\n> Pulling latest LinkAce image from the Docker Hub...\n"
docker pull linkace/linkace
if grep -q "linkace/linkace:php-nginx" docker-compose.yml; then
docker pull linkace/linkace:php-nginx
else
docker pull linkace/linkace
fi
printf "\n> Restarting the application...\n"
docker-compose up -d