Versionsnummern durch Platzhalter ersetzt (#26)
parent
cbb61fb6ff
commit
cf89e795c9
1 changed files with 10 additions and 10 deletions
|
|
@ -4,7 +4,7 @@ Rolle: Tailscale-Mitglied + Subnet-Router-Bridge (für den Fall, dass kein Tails
|
||||||
|
|
||||||
## 1. OS-Installation (manueller Schritt im STRATO-Panel, nicht CLI)
|
## 1. OS-Installation (manueller Schritt im STRATO-Panel, nicht CLI)
|
||||||
|
|
||||||
- Debian 13 (Konsistenz mit dem Rest der Infrastruktur)
|
- Debian <DEBIAN_RELEASE> (Konsistenz mit dem Rest der Infrastruktur)
|
||||||
- Public SSH-Key beim Anlegen hinterlegen (Key-only, kein Passwort-Login) — Key vom PVE-Host: `cat /root/.ssh/id_rsa.pub`
|
- Public SSH-Key beim Anlegen hinterlegen (Key-only, kein Passwort-Login) — Key vom PVE-Host: `cat /root/.ssh/id_rsa.pub`
|
||||||
- Root-Passwort trotzdem setzen (nur als VNC-Konsolen-Fallback, falls SSH mal nicht geht)
|
- Root-Passwort trotzdem setzen (nur als VNC-Konsolen-Fallback, falls SSH mal nicht geht)
|
||||||
|
|
||||||
|
|
@ -49,16 +49,16 @@ getent hosts nas.pve adguard.pve # DNS-Override auf AdGuard sollte greifen
|
||||||
mkdir -p /opt/guacamole/{extensions,guac-home,jdbc-schema,pg-data}
|
mkdir -p /opt/guacamole/{extensions,guac-home,jdbc-schema,pg-data}
|
||||||
|
|
||||||
# Postgres-JDBC-Schema besorgen (nur die Schema-Datei, NICHT die postgresql-Extension-Jar — siehe unten)
|
# Postgres-JDBC-Schema besorgen (nur die Schema-Datei, NICHT die postgresql-Extension-Jar — siehe unten)
|
||||||
curl -fsSL -o /tmp/jdbc.tar.gz https://downloads.apache.org/guacamole/1.6.0/binary/guacamole-auth-jdbc-1.6.0.tar.gz
|
curl -fsSL -o /tmp/jdbc.tar.gz https://downloads.apache.org/guacamole/<GUACAMOLE_VERSION>/binary/guacamole-auth-jdbc-<GUACAMOLE_VERSION>.tar.gz
|
||||||
tar xzf /tmp/jdbc.tar.gz -C /tmp
|
tar xzf /tmp/jdbc.tar.gz -C /tmp
|
||||||
cp /tmp/guacamole-auth-jdbc-1.6.0/postgresql/schema/001-create-schema.sql /opt/guacamole/jdbc-schema/
|
cp /tmp/guacamole-auth-jdbc-<GUACAMOLE_VERSION>/postgresql/schema/001-create-schema.sql /opt/guacamole/jdbc-schema/
|
||||||
rm -rf /tmp/jdbc.tar.gz /tmp/guacamole-auth-jdbc-1.6.0
|
rm -rf /tmp/jdbc.tar.gz /tmp/guacamole-auth-jdbc-<GUACAMOLE_VERSION>
|
||||||
|
|
||||||
# TOTP-Extension (wird tatsächlich gebraucht, nicht im Image enthalten)
|
# TOTP-Extension (wird tatsächlich gebraucht, nicht im Image enthalten)
|
||||||
curl -fsSL -o /tmp/totp.tar.gz https://downloads.apache.org/guacamole/1.6.0/binary/guacamole-auth-totp-1.6.0.tar.gz
|
curl -fsSL -o /tmp/totp.tar.gz https://downloads.apache.org/guacamole/<GUACAMOLE_VERSION>/binary/guacamole-auth-totp-<GUACAMOLE_VERSION>.tar.gz
|
||||||
tar xzf /tmp/totp.tar.gz -C /tmp
|
tar xzf /tmp/totp.tar.gz -C /tmp
|
||||||
cp /tmp/guacamole-auth-totp-1.6.0/guacamole-auth-totp-1.6.0.jar /opt/guacamole/extensions/
|
cp /tmp/guacamole-auth-totp-<GUACAMOLE_VERSION>/guacamole-auth-totp-<GUACAMOLE_VERSION>.jar /opt/guacamole/extensions/
|
||||||
rm -rf /tmp/totp.tar.gz /tmp/guacamole-auth-totp-1.6.0
|
rm -rf /tmp/totp.tar.gz /tmp/guacamole-auth-totp-<GUACAMOLE_VERSION>
|
||||||
```
|
```
|
||||||
|
|
||||||
⚠️ **NICHT TUN:** die `guacamole-auth-jdbc-postgresql-*.jar` manuell in `extensions/` legen. Das offizielle `guacamole/guacamole`-Docker-Image bringt diese Extension bereits eingebaut mit und aktiviert sie automatisch über die `POSTGRESQL_*`-Umgebungsvariablen (siehe Compose-Datei unten). Eine manuell hinzugefügte zweite Kopie führt zu einer Namenskollision (zwei `[postgresql]`-Provider gleichzeitig geladen) und macht den Login kaputt ("Invalid login" trotz korrektem Passwort).
|
⚠️ **NICHT TUN:** die `guacamole-auth-jdbc-postgresql-*.jar` manuell in `extensions/` legen. Das offizielle `guacamole/guacamole`-Docker-Image bringt diese Extension bereits eingebaut mit und aktiviert sie automatisch über die `POSTGRESQL_*`-Umgebungsvariablen (siehe Compose-Datei unten). Eine manuell hinzugefügte zweite Kopie führt zu einer Namenskollision (zwei `[postgresql]`-Provider gleichzeitig geladen) und macht den Login kaputt ("Invalid login" trotz korrektem Passwort).
|
||||||
|
|
@ -73,14 +73,14 @@ DBPASS=$(openssl rand -base64 24 | tr -d '=+/')
|
||||||
cat > /opt/guacamole/docker-compose.yml <<EOF
|
cat > /opt/guacamole/docker-compose.yml <<EOF
|
||||||
services:
|
services:
|
||||||
guacd:
|
guacd:
|
||||||
image: guacamole/guacd:1.6.0
|
image: guacamole/guacd:<GUACAMOLE_VERSION>
|
||||||
container_name: guacd
|
container_name: guacd
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- guac-net
|
- guac-net
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:<POSTGRES_VERSION>-alpine
|
||||||
container_name: guac-postgres
|
container_name: guac-postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -94,7 +94,7 @@ services:
|
||||||
- guac-net
|
- guac-net
|
||||||
|
|
||||||
guacamole:
|
guacamole:
|
||||||
image: guacamole/guacamole:1.6.0
|
image: guacamole/guacamole:<GUACAMOLE_VERSION>
|
||||||
container_name: guacamole
|
container_name: guacamole
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue