main: replace curl install commands with wget
This commit is contained in:
parent
5f87e99a61
commit
e2a5d71134
@ -64,7 +64,7 @@ private function update()
|
|||||||
} else {
|
} else {
|
||||||
ray('Running update on production server');
|
ray('Running update on production server');
|
||||||
remote_process([
|
remote_process([
|
||||||
"curl -fsSL https://githaven.org/Shiloh/lasthourcloud/src/branch/main/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh",
|
"wget -q -O - https://githaven.org/Shiloh/lasthourcloud/src/branch/main/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh",
|
||||||
"bash /data/coolify/source/upgrade.sh $this->latestVersion"
|
"bash /data/coolify/source/upgrade.sh $this->latestVersion"
|
||||||
], $this->server);
|
], $this->server);
|
||||||
return;
|
return;
|
||||||
|
@ -202,10 +202,10 @@ mkdir -p /data/coolify/ssh/{keys,mux}
|
|||||||
mkdir -p /data/coolify/proxy/dynamic
|
mkdir -p /data/coolify/proxy/dynamic
|
||||||
|
|
||||||
echo "Downloading required files from CDN..."
|
echo "Downloading required files from CDN..."
|
||||||
curl -fsSL $CDN/docker-compose.yml -o /data/coolify/source/docker-compose.yml
|
wget -q -O - $CDN/docker-compose.yml -o /data/coolify/source/docker-compose.yml
|
||||||
curl -fsSL $CDN/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml
|
wget -q -O - $CDN/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml
|
||||||
curl -fsSL $CDN/.env.production -o /data/coolify/source/.env.production
|
wget -q -O - $CDN/.env.production -o /data/coolify/source/.env.production
|
||||||
curl -fsSL $CDN/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh
|
wget -q -O - $CDN/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh
|
||||||
|
|
||||||
# echo "Copying required files from Last Hour Cloud git repo..."
|
# echo "Copying required files from Last Hour Cloud git repo..."
|
||||||
# cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-compose.yml
|
# cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-compose.yml
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
VERSION="1.0.4"
|
VERSION="1.0.4"
|
||||||
CDN="https://githaven.org/Shiloh/lasthourcloud/src/branch/main/"
|
CDN="https://githaven.org/Shiloh/lasthourcloud/src/branch/main/"
|
||||||
|
|
||||||
curl -fsSL $CDN/docker-compose.yml -o /data/coolify/source/docker-compose.yml
|
wget -q -O - $CDN/docker-compose.yml -o /data/coolify/source/docker-compose.yml
|
||||||
curl -fsSL $CDN/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml
|
wget -q -O - $CDN/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml
|
||||||
curl -fsSL $CDN/.env.production -o /data/coolify/source/.env.production
|
wget -q -O - $CDN/.env.production -o /data/coolify/source/.env.production
|
||||||
|
|
||||||
# echo "Copying required files from Last Hour Cloud git repo..."
|
# echo "Copying required files from Last Hour Cloud git repo..."
|
||||||
# cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-compose.yml
|
# cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-compose.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user