mirror of https://github.com/tteck/Proxmox.git
Compare commits
9 Commits
026ad7bbec
...
fa44c278fb
Author | SHA1 | Date |
---|---|---|
|
fa44c278fb | |
|
3ecfbe91e2 | |
|
60d5522ec1 | |
|
9b251be440 | |
|
e7436ee55d | |
|
ef222e11d4 | |
|
50165e4d38 | |
|
5998a3c542 | |
|
72f580664d |
|
@ -5,6 +5,13 @@
|
||||||
|
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
|
|
||||||
|
## 2023-11-11
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **Homarr LXC**
|
||||||
|
- Returns with v0.14.0 (The authentication update).
|
||||||
|
|
||||||
## 2023-11-9
|
## 2023-11-9
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -25,52 +25,24 @@ msg_ok "Installed Dependencies"
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
mkdir -p /etc/apt/keyrings
|
mkdir -p /etc/apt/keyrings
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
|
||||||
msg_ok "Set up Node.js Repository"
|
msg_ok "Set up Node.js Repository"
|
||||||
|
|
||||||
msg_info "Installing Node.js"
|
msg_info "Installing Node.js/Yarn"
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y nodejs
|
$STD apt-get install -y nodejs
|
||||||
$STD npm install next
|
$STD npm install -g npm@latest
|
||||||
$STD npm instal react
|
|
||||||
$STD npm instal react-dom
|
|
||||||
msg_ok "Installed Node.js"
|
|
||||||
|
|
||||||
msg_info "Installing Yarn"
|
|
||||||
$STD npm install -g yarn
|
$STD npm install -g yarn
|
||||||
$STD yarn global add prisma
|
msg_ok "Installed Node.js/Yarn"
|
||||||
msg_ok "Installed Yarn"
|
|
||||||
|
|
||||||
msg_info "Installing Homarr (Patience)"
|
msg_info "Installing Homarr (Patience)"
|
||||||
git clone -q https://github.com/ajnart/homarr.git /opt/homarr
|
git clone -q https://github.com/ajnart/homarr.git /opt/homarr
|
||||||
cd /opt/homarr
|
cd /opt/homarr
|
||||||
cat <<EOF >/opt/homarr/.env
|
cp -p /opt/homarr/.env.example /opt/homarr/.env
|
||||||
# Since the ".env" file is gitignored, you can use the ".env.example" file to
|
sed -i 's/NEXTAUTH_SECRET="[^"]*"/NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"/' /opt/homarr/.env
|
||||||
# build a new ".env" file when you clone the repo. Keep this file up-to-date
|
|
||||||
# when you add new variables to `.env`.
|
|
||||||
|
|
||||||
# This file will be committed to version control, so make sure not to have any
|
|
||||||
# secrets in it. If you are cloning this repo, create a copy of this file named
|
|
||||||
# ".env" and populate it with your secrets.
|
|
||||||
|
|
||||||
# When adding additional environment variables, the schema in "/src/env.js"
|
|
||||||
# should be updated accordingly.
|
|
||||||
|
|
||||||
# Prisma
|
|
||||||
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
|
|
||||||
DATABASE_URL="file:../database/db.sqlite"
|
|
||||||
|
|
||||||
# Next Auth
|
|
||||||
# You can generate a new secret on the command line with:
|
|
||||||
# openssl rand -base64 32
|
|
||||||
# https://next-auth.js.org/configuration/options#secret
|
|
||||||
# NEXTAUTH_SECRET=""
|
|
||||||
NEXTAUTH_URL="http://localhost:3000"
|
|
||||||
|
|
||||||
NEXTAUTH_SECRET="1234"
|
|
||||||
EOF
|
|
||||||
$STD yarn install
|
$STD yarn install
|
||||||
$STD yarn build
|
$STD yarn build
|
||||||
|
$STD yarn db:migrate
|
||||||
msg_ok "Installed Homarr"
|
msg_ok "Installed Homarr"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
Loading…
Reference in New Issue