Skip to content

Commit 5716eb3

Browse files
authored
Increase resources (#8199)
1 parent 05c7b84 commit 5716eb3

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

ct/myip.sh

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
77

88
APP="MyIP"
99
var_tags="${var_tags:-network}"
10-
var_cpu="${var_cpu:-1}"
11-
var_ram="${var_ram:-512}"
10+
var_cpu="${var_cpu:-2}"
11+
var_ram="${var_ram:-1024}"
1212
var_disk="${var_disk:-4}"
1313
var_os="${var_os:-debian}"
1414
var_version="${var_version:-13}"
@@ -20,29 +20,29 @@ color
2020
catch_errors
2121

2222
function update_script() {
23-
header_info
24-
check_container_storage
25-
check_container_resources
26-
if [[ ! -d /opt/myip ]]; then
27-
msg_error "No ${APP} Installation Found!"
28-
exit
29-
fi
30-
31-
if check_for_gh_release "myip" "jason5ng32/MyIP"; then
32-
msg_info "Stopping Services"
33-
systemctl stop myip
34-
msg_ok "Stopped Services"
35-
36-
cp /opt/myip/.env /opt
37-
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "myip" "jason5ng32/MyIP" "tarball"
38-
mv /opt/.env /opt/myip
39-
40-
msg_info "Starting Services"
41-
systemctl start myip
42-
msg_ok "Started Services"
43-
msg_ok "Updated Successfully"
44-
fi
23+
header_info
24+
check_container_storage
25+
check_container_resources
26+
if [[ ! -d /opt/myip ]]; then
27+
msg_error "No ${APP} Installation Found!"
4528
exit
29+
fi
30+
31+
if check_for_gh_release "myip" "jason5ng32/MyIP"; then
32+
msg_info "Stopping Services"
33+
systemctl stop myip
34+
msg_ok "Stopped Services"
35+
36+
cp /opt/myip/.env /opt
37+
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "myip" "jason5ng32/MyIP" "tarball"
38+
mv /opt/.env /opt/myip
39+
40+
msg_info "Starting Services"
41+
systemctl start myip
42+
msg_ok "Started Services"
43+
msg_ok "Updated Successfully"
44+
fi
45+
exit
4646
}
4747

4848
start

frontend/public/json/myip.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"type": "default",
2020
"script": "ct/myip.sh",
2121
"resources": {
22-
"cpu": 1,
23-
"ram": 512,
22+
"cpu": 2,
23+
"ram": 1024,
2424
"hdd": 2,
2525
"os": "Debian",
2626
"version": "13"

0 commit comments

Comments
 (0)