mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Pull base image at the beginning.
This commit is contained in:
parent
b2e7e7f499
commit
5061545995
6
launcher
6
launcher
|
@ -131,6 +131,12 @@ bootstrap() {
|
||||||
err_and_quit "The file $bootstrap_conf doesn't exist. Have you run seafile-server-setup?"
|
err_and_quit "The file $bootstrap_conf doesn't exist. Have you run seafile-server-setup?"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
docker history $image >/dev/null 2>&1 || {
|
||||||
|
show_progress "Pulling Seafile server image $version, this may take a while."
|
||||||
|
docker pull $image
|
||||||
|
show_progress "Seafile server image $version pulled"
|
||||||
|
}
|
||||||
|
|
||||||
# First initialize seafile server and letsencrypt
|
# First initialize seafile server and letsencrypt
|
||||||
set_bootstrap_volumes
|
set_bootstrap_volumes
|
||||||
set_ports
|
set_ports
|
||||||
|
|
Loading…
Reference in a new issue