mirror of https://github.com/tteck/Proxmox.git
Compare commits
5 Commits
9c475a0208
...
be8dbcc094
Author | SHA1 | Date |
---|---|---|
tteckster | be8dbcc094 | |
tteckster | 39313455e6 | |
tteckster | d81fc402a0 | |
tteckster | 8228d24027 | |
tteckster | 26fd770db5 |
|
@ -21,7 +21,7 @@ echo -e "Loading..."
|
||||||
APP="Jellyseerr"
|
APP="Jellyseerr"
|
||||||
var_disk="8"
|
var_disk="8"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="2048"
|
var_ram="4096"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="12"
|
||||||
variables
|
variables
|
||||||
|
@ -77,6 +77,10 @@ start
|
||||||
build_container
|
build_container
|
||||||
description
|
description
|
||||||
|
|
||||||
|
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}:5055${CL} \n"
|
${BL}http://${IP}:5055${CL} \n"
|
||||||
|
|
|
@ -33,15 +33,15 @@ $STD apt-get update
|
||||||
$STD apt-get install -y nodejs
|
$STD apt-get install -y nodejs
|
||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Yarn"
|
msg_info "Installing pnpm"
|
||||||
$STD npm install -g yarn
|
$STD npm install -g pnpm
|
||||||
msg_ok "Installed Yarn"
|
msg_ok "Installed pnpm"
|
||||||
|
|
||||||
msg_info "Installing Jellyseerr (Patience)"
|
msg_info "Installing Jellyseerr (Patience)"
|
||||||
git clone -q https://github.com/Fallenbagel/jellyseerr.git /opt/jellyseerr
|
git clone -q https://github.com/Fallenbagel/jellyseerr.git /opt/jellyseerr
|
||||||
cd /opt/jellyseerr
|
cd /opt/jellyseerr
|
||||||
$STD yarn install
|
CYPRESS_INSTALL_BINARY=0 pnpm install --frozen-lockfile &>/dev/null
|
||||||
$STD yarn build
|
$STD pnpm build
|
||||||
mkdir -p /etc/jellyseerr/
|
mkdir -p /etc/jellyseerr/
|
||||||
cat <<EOF >/etc/jellyseerr/jellyseerr.conf
|
cat <<EOF >/etc/jellyseerr/jellyseerr.conf
|
||||||
PORT=5055
|
PORT=5055
|
||||||
|
@ -53,15 +53,17 @@ msg_ok "Installed Jellyseerr"
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/jellyseerr.service
|
cat <<EOF >/etc/systemd/system/jellyseerr.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=jellyseerr Service
|
Description=Jellyseerr Service
|
||||||
After=network.target
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/jellyseerr/jellyseerr.conf
|
EnvironmentFile=/etc/jellyseerr/jellyseerr.conf
|
||||||
Environment=NODE_ENV=production
|
Environment=NODE_ENV=production
|
||||||
Type=exec
|
Type=exec
|
||||||
|
Restart=on-failure
|
||||||
WorkingDirectory=/opt/jellyseerr
|
WorkingDirectory=/opt/jellyseerr
|
||||||
ExecStart=/usr/bin/yarn start
|
ExecStart=/usr/bin/node dist/index.js
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue