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:
parent
312b5fdca5
commit
5786ccc750
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user