mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 19:55:53 +00:00
Update Notesnook json
This commit is contained in:
@@ -9,7 +9,7 @@ APP="notesnook"
|
||||
var_tags="${var_tags:-os}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-3072}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_disk="${var_disk:-10}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-12}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 3000,
|
||||
"interface_port": 443,
|
||||
"documentation": null,
|
||||
"config_path": "/",
|
||||
"website": "https://notesnook.com/",
|
||||
@@ -21,7 +21,7 @@
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 3072,
|
||||
"hdd": 8,
|
||||
"hdd": 10,
|
||||
"os": "Debian",
|
||||
"version": "12"
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ Restart=on-failure
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
sed -i "s|^ExecStart=.*|ExecStart=/usr/bin/caddy reverse-proxy --from https://$LOCAL_IP --to localhost:3000|" /lib/systemd/system/caddy.service
|
||||
sed -i '/^ExecReload=/d' /lib/systemd/system/caddy.service
|
||||
systemctl daemon-reload
|
||||
systemctl restart caddy
|
||||
systemctl enable -q --now notesnook
|
||||
|
||||
Reference in New Issue
Block a user