Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ccccc6fe2 |
@@ -1,10 +0,0 @@
|
|||||||
# Force LF on all shell scripts, Dockerfiles and entrypoints so a checkout on a
|
|
||||||
# Windows box (core.autocrlf=true) can never ship CRLF into a release tarball.
|
|
||||||
# CRLF in an entrypoint makes the shebang "#!/bin/bash\r", which the Linux kernel
|
|
||||||
# cannot exec ("no such file or directory") — it crash-loops every container.
|
|
||||||
*.sh text eol=lf
|
|
||||||
entrypoint.sh text eol=lf
|
|
||||||
Dockerfile text eol=lf
|
|
||||||
*.yaml text eol=lf
|
|
||||||
*.yml text eol=lf
|
|
||||||
install.sh text eol=lf
|
|
||||||
@@ -20,7 +20,7 @@ or Scheduled Tasks (Windows), and the local agent is auto-paired over mTLS.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Linux (Debian/Ubuntu/Fedora/RHEL/Raspbian) — run as root:
|
# Linux (Debian/Ubuntu/Fedora/RHEL/Raspbian) — run as root:
|
||||||
curl -fsSL https://git.pdxtechs.com/dbledeez/panel/raw/branch/main/install.sh | sudo bash
|
curl -fsSL https://raw.githubusercontent.com/dbledeez/panel/main/install.sh | sudo bash
|
||||||
```
|
```
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
|||||||
+2
-2
@@ -18,7 +18,7 @@ Then: [Postgres provisioning](#postgres-provisioning),
|
|||||||
Debian, Ubuntu, Fedora, CentOS/RHEL, Raspbian. Run as root:
|
Debian, Ubuntu, Fedora, CentOS/RHEL, Raspbian. Run as root:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://git.pdxtechs.com/dbledeez/panel/raw/branch/main/install.sh | sudo bash
|
curl -fsSL https://raw.githubusercontent.com/dbledeez/panel/main/install.sh | sudo bash
|
||||||
```
|
```
|
||||||
|
|
||||||
What it does (idempotent — safe to re-run; existing containers, units,
|
What it does (idempotent — safe to re-run; existing containers, units,
|
||||||
@@ -38,7 +38,7 @@ Tunables (env vars, all optional — from `install.sh`'s header):
|
|||||||
|
|
||||||
| Env var | Meaning | Default |
|
| Env var | Meaning | Default |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `PANEL_REPO_URL` | git/https base of the panel source | the upstream gitea repo |
|
| `PANEL_REPO_URL` | git/https base of the panel source | github repo |
|
||||||
| `PANEL_PREBUILT_URL` | tarball with prebuilt `bin/{controller,agent,panelctl}` + `modules/` (skips the Go build) | — |
|
| `PANEL_PREBUILT_URL` | tarball with prebuilt `bin/{controller,agent,panelctl}` + `modules/` (skips the Go build) | — |
|
||||||
| `PANEL_VERSION` | version string baked into the binaries | `git describe \|\| dev` |
|
| `PANEL_VERSION` | version string baked into the binaries | `git describe \|\| dev` |
|
||||||
| `PANEL_DIR` | install prefix | `/opt/panel` |
|
| `PANEL_DIR` | install prefix | `/opt/panel` |
|
||||||
|
|||||||
+1
-3
@@ -226,9 +226,7 @@ else
|
|||||||
fi
|
fi
|
||||||
PANEL_DB_URL="postgres://panel:${PANEL_DB_PASSWORD}@127.0.0.1:$PANEL_DB_PORT/panel?sslmode=disable"
|
PANEL_DB_URL="postgres://panel:${PANEL_DB_PASSWORD}@127.0.0.1:$PANEL_DB_PORT/panel?sslmode=disable"
|
||||||
log "waiting for postgres to accept connections"
|
log "waiting for postgres to accept connections"
|
||||||
# First-boot does a full initdb + CREATE DATABASE + restart; on slow disks or
|
for _ in $(seq 1 30); do
|
||||||
# the vfs storage driver this can take well over 30s, so budget 120s.
|
|
||||||
for _ in $(seq 1 120); do
|
|
||||||
if docker exec "$PG_CONTAINER" pg_isready -U panel -d panel >/dev/null 2>&1; then break; fi
|
if docker exec "$PG_CONTAINER" pg_isready -U panel -d panel >/dev/null 2>&1; then break; fi
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user