diff --git a/ct/wishlist.sh b/ct/wishlist.sh index 02154d795..e533463e3 100644 --- a/ct/wishlist.sh +++ b/ct/wishlist.sh @@ -7,8 +7,8 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV APP="Wishlist" var_tags="${var_tags:-sharing}" -var_cpu="${var_cpu:-1}" -var_ram="${var_ram:-1024}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" var_disk="${var_disk:-5}" var_os="${var_os:-debian}" var_version="${var_version:-13}" @@ -44,7 +44,6 @@ function update_script() { msg_info "Updating Wishlist" cd /opt/wishlist - $STD pnpm install $STD pnpm svelte-kit sync $STD pnpm prisma generate diff --git a/frontend/public/json/wishlist.json b/frontend/public/json/wishlist.json index 3024b6e72..4d7f7f45b 100644 --- a/frontend/public/json/wishlist.json +++ b/frontend/public/json/wishlist.json @@ -1,33 +1,35 @@ { - "name": "Wishlist", - "slug": "wishlist", - "categories": [0], - "date_created": "2025-12-29", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 3280, - "documentation": "https://github.com/cmintey/wishlist/blob/main/README.md#getting-started", - "config_path": "/opt/wishlist/.env", - "website": "https://github.com/cmintey/wishlist", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/cmintey-wishlist.webp", - "description": "Wishlist is a self-hosted wishlist application that you can share with your friends and family. You no longer have to wonder what to get your family for the holidays, simply check their wishlist and claim any available item!", - "install_methods": [ - { - "type": "default", - "script": "ct/wishlist.sh", - "resources": { - "cpu": 1, - "ram": 1024, - "hdd": 5, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [] + "name": "Wishlist", + "slug": "wishlist", + "categories": [ + 0 + ], + "date_created": "2025-12-29", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 3280, + "documentation": "https://github.com/cmintey/wishlist/blob/main/README.md#getting-started", + "config_path": "/opt/wishlist/.env", + "website": "https://github.com/cmintey/wishlist", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/cmintey-wishlist.webp", + "description": "Wishlist is a self-hosted wishlist application that you can share with your friends and family. You no longer have to wonder what to get your family for the holidays, simply check their wishlist and claim any available item!", + "install_methods": [ + { + "type": "default", + "script": "ct/wishlist.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": 5, + "os": "Debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [] } diff --git a/install/wishlist-install.sh b/install/wishlist-install.sh index 3c5b9025d..5203d2731 100644 --- a/install/wishlist-install.sh +++ b/install/wishlist-install.sh @@ -24,11 +24,13 @@ msg_ok "Installed dependencies" NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs fetch_and_deploy_gh_release "wishlist" "cmintey/wishlist" "tarball" LATEST_APP_VERSION=$(get_latest_github_release "cmintey/wishlist" false) +import_local_ip msg_info "Installing Wishlist" cd /opt/wishlist cp .env.example .env -echo "NODE_ENV=production" >> /opt/wishlist/.env +sed -i "s|^ORIGIN=.*|ORIGIN=http://${LOCAL_IP}:3000|" /opt/wishlist/.env +echo "NODE_ENV=production" >>/opt/wishlist/.env $STD pnpm install $STD pnpm svelte-kit sync $STD pnpm prisma generate