Skip to content

Commit aec2620

Browse files
author
philippe
committed
add docker-compose pull if latest version
1 parent 478a423 commit aec2620

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

start.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,9 @@ echo "PROXY_PROVIDER=${proxy_provider}" >> ${SCRIPT_DIRECTORY}/.env
6464
echo "PROXY_PROVIDER_VERSION=${proxy_provider_version}" >> ${SCRIPT_DIRECTORY}/.env
6565

6666
cd ${SCRIPT_DIRECTORY}
67+
if [[ "${nginx_version}" == "latest" ]] || [[ "${proxy_provider_version}" == "latest" ]]; then
68+
docker-compose pull
69+
fi
70+
6771
docker-compose up --detach --renew-anon-volumes --remove-orphans
6872
cd ${CURRENT_DIRECTORY}

0 commit comments

Comments
 (0)