Update photoprism-v4.sh

increase ram for building binary
This commit is contained in:
tteckster 2022-10-22 07:15:58 -04:00 committed by GitHub
parent 0beaa20971
commit 79c8e8d5d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@ echo -e "Loading..."
APP="PhotoPrism" APP="PhotoPrism"
var_disk="8" var_disk="8"
var_cpu="2" var_cpu="2"
var_ram="2048" var_ram="3072"
var_os="debian" var_os="debian"
var_version="11" var_version="11"
NSAPP=$(echo ${APP,,} | tr -d ' ') 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 pct set $CTID -description "# ${APP} LXC
### https://tteck.github.io/Proxmox/ ### 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>" <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" msg_ok "Completed Successfully!\n"
echo -e "${APP} should be reachable by going to the following URL. echo -e "${APP} should be reachable by going to the following URL.
${BL}http://${IP}:2342${CL} \n" ${BL}http://${IP}:2342${CL} \n"