Centralize demo config in .env and add bootstrap-stack.sh
Expand .env.example with ports, AI, Usenet, WireGuard, demo logins, and bootstrap flags. One script creates dirs, downloads the model, starts compose, heals gluetun, and configures SABnzbd from the same file.
This commit is contained in:
parent
56ddb349b4
commit
3bf1726a99
7 changed files with 410 additions and 76 deletions
|
|
@ -5,6 +5,25 @@ Stack: **`/opt/stack`** · Media: **`/storage`** · User: **`tim`**
|
|||
|
||||
---
|
||||
|
||||
## Fresh install / tech demo (max automation)
|
||||
|
||||
Almost everything lives in **`.env`** (see `.env.example` — ports, paths, AI, Usenet, demo login, bootstrap flags).
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
# set STACK_HOST, LAN_SUBNET, usenet keys (NZBKEEPKEY, NEWSHOSTING*, TWEAKNEWS*)
|
||||
# drop wireguard/wg0.conf (+ # EndpointHost = your.provider.host)
|
||||
|
||||
./scripts/bootstrap-stack.sh
|
||||
# → dirs, model download, compose build/up, gluetun heal, SABnzbd servers
|
||||
```
|
||||
|
||||
Demo login for local apps you create: **`tim` / `asdfasdf`** (`DEMO_USER` / `DEMO_PASS`).
|
||||
|
||||
Still manual once (app APIs differ): Prowlarr↔apps, Jellyfin libraries, first Forgejo/Open WebUI admin (use demo user/pass).
|
||||
|
||||
---
|
||||
|
||||
## Ansible
|
||||
|
||||
From a machine with this repo and SSH key `~/.ssh/id_ed25519`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue