Browse Source

Update photoprism-v4.sh

increase ram for building binary
tteckster 2 years ago
parent
commit
79c8e8d5d0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ct/photoprism-v4.sh

+ 4 - 1
ct/photoprism-v4.sh

@@ -3,7 +3,7 @@ echo -e "Loading..."
 APP="PhotoPrism"
 var_disk="8"
 var_cpu="2"
-var_ram="2048"
+var_ram="3072"
 var_os="debian"
 var_version="11"
 NSAPP=$(echo ${APP,,} | tr -d ' ')
@@ -239,6 +239,9 @@ IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2
 pct set $CTID -description "# ${APP} LXC
 ### https://tteck.github.io/Proxmox/
 <a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
+msg_info "Setting Container to Normal Resources"
+pct set $CTID -memory 2048
+msg_ok "Set Container to Normal Resources"
 msg_ok "Completed Successfully!\n"
 echo -e "${APP} should be reachable by going to the following URL.
          ${BL}http://${IP}:2342${CL} \n"