From 8e9573e1ccd25bdc68501de310b4b6801f24e0bf Mon Sep 17 00:00:00 2001 From: dominikhoebert <42839893+dominikhoebert@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:04:00 +0200 Subject: [PATCH] added webtrees and guacamole --- .gitignore | 1 + README.md | 57 ++++++++++++++++++++++++++++--------------- guacamole/README.md | 55 +++++++++++++++++++++++++++++++++++++++++ guacamole/compose.yml | 17 +++++++++++++ webtrees/compose.yml | 49 +++++++++++++++++++++++++++++++++++++ 5 files changed, 159 insertions(+), 20 deletions(-) create mode 100644 guacamole/README.md create mode 100644 guacamole/compose.yml create mode 100644 webtrees/compose.yml diff --git a/.gitignore b/.gitignore index e254cee..bb859db 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ portainer/portainer_data/ plex-radarr-transmission/plex/ plex-radarr-transmission/radarr/ plex-radarr-transmission/transmission/ +guacamole/config/ diff --git a/README.md b/README.md index e874af2..db9d8d0 100644 --- a/README.md +++ b/README.md @@ -2,31 +2,42 @@ ## Services -| Service | Port | -|-|-| -| [Cloudcmd](https://cloudcmd.io/) | [8000](http://localhost:8000) | -| [Code Server](https://github.com/linuxserver/docker-code-server) | [8443](http://localhost:8443) | -| [Gramps Web](https://www.grampsweb.org/) | [81](http://localhost:81) | -| [Home Assistant](https://www.home-assistant.io/) | [8123](http://localhost:8123) | -| [Homepage](https://gethomepage.dev) | [3045](http://localhost:3045) | -| [JDownloader2](https://jdownloader.org/jdownloader2) | [5800](http://localhost:5800) | -| [Adminer](https://www.adminer.org/) | [8081](http://localhost:8081) | -| [MariaDB](https://mariadb.org/) | 3306 | -| [Nextcloud](https://github.com/nextcloud/docker) | [8080](http://localhost:8080) | -| [Transmission](https://github.com/linuxserver/docker-transmission) | [9091](http://localhost:9091) | -| [Radarr](https://github.com/linuxserver/docker-radarr) | [7878](http://localhost:7878) | -| [Plex](https://github.com/linuxserver/docker-plex) | [32400](http://localhost:32400) | -| [Portainer](https://www.portainer.io/) | [9000](http://localhost:9000) | -| [InfluxDB](https://www.influxdata.com/) | [8086](http://localhost:8086) | -| [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/) | | -| [traefik](https://doc.traefik.io/traefik/) | [8082](http://localhost:8082) 80 443| -| [Uptime Kuma](https://github.com/louislam/uptime-kuma) | [3001](http://localhost:3001) | -| [Watchtower](https://containrrr.dev/watchtower/) | | +| Service | Port | +| --------------------------------------------------------------------- | ------------------------------------ | +| [Cloudcmd](https://cloudcmd.io/) | [8000](http://localhost:8000) | +| [Code Server](https://github.com/linuxserver/docker-code-server) | [8443](http://localhost:8443) | +| [Gramps Web](https://www.grampsweb.org/) | [81](http://localhost:81) | +| [Home Assistant](https://www.home-assistant.io/) | [8123](http://localhost:8123) | +| [Homepage](https://gethomepage.dev) | [3045](http://localhost:3045) | +| [JDownloader2](https://jdownloader.org/jdownloader2) | [5800](http://localhost:5800) | +| [Adminer](https://www.adminer.org/) | [8081](http://localhost:8081) | +| [MariaDB](https://mariadb.org/) | 3306 | +| [Nextcloud](https://github.com/nextcloud/docker) | [8080](http://localhost:8080) | +| [Transmission](https://github.com/linuxserver/docker-transmission) | [9091](http://localhost:9091) | +| [Radarr](https://github.com/linuxserver/docker-radarr) | [7878](http://localhost:7878) | +| [Plex](https://github.com/linuxserver/docker-plex) | [32400](http://localhost:32400) | +| [Portainer](https://www.portainer.io/) | [9000](http://localhost:9000) | +| [InfluxDB](https://www.influxdata.com/) | [8086](http://localhost:8086) | +| [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/) | | +| [traefik](https://doc.traefik.io/traefik/) | [8082](http://localhost:8082) 80 443 | +| [Uptime Kuma](https://github.com/louislam/uptime-kuma) | [3001](http://localhost:3001) | +| [Watchtower](https://containrrr.dev/watchtower/) | | ![homepage](homepage.jpg) ## ToDo +- https://github.com/ChristianLempa/boilerplates/tree/main/docker-compose + +- guacamole + - readme + - homepage + - + +- webtrees + - homepage + - readme + - Graphana Loki - Authentik - alpine @@ -43,4 +54,10 @@ - pinchflat - netalertx - netdata + - demo: https://app.netdata.cloud/spaces/netdata-demo/rooms/all-nodes - stirlingpdf +- mariadb-docker: + - phpmyadmin + - https://github.com/sqlchat/sqlchat + - https://github.com/beekeeper-studio/beekeeper-studio + - https://dbgate.org/ diff --git a/guacamole/README.md b/guacamole/README.md new file mode 100644 index 0000000..99e481d --- /dev/null +++ b/guacamole/README.md @@ -0,0 +1,55 @@ +## Usage + +TODO + +## Installation + +1. VNC/RDP + 1. Windows +TODO + 2. macOS +`System Settings` -> `General` -> `Sharing` -> `Screen Sharing` activieren (Kann verwendet werden um Screen sharing kurzfristig zu deaktivieren) +Weiters sollten die entsprechenden Screen Sharing Settings gesetzt werden auf `i` + +2. Docker +Download und installiere [Docker Desktop](https://www.docker.com/) +Docker ist korrekt installiert, wenn in der GUI die linke untere Ecke grün ist. + +3. Container +Erstelle in deinem Benutzerverzeichniss einen Ordner `guacamole`. +Erstelle [compose.yml](https://github.com/dominikhoebert/docker-projects/blob/master/guacamole/compose.yml) in diesem Ordner +Öffne das Terminal und führe folgende zwei Befehle aus +``` +cd guacamole +docker compose up -d +``` + +4. Config +Die Weboberfläche sollte nun über [http://localhost](http://localhost) erreichbar sein +Standart Login `guacadmin`/`guacadmin` +Settings oben rechts auf `guacadmin` + + 1. Password +Das Standartpasswort sollte in Preferences geändert werden (manche +Schüler kennen das Standartpasswort) + 2. Connection +`Connections` -> `New Connection` +Beliebieger Name z.B. `Schule` +Protocol: RDP (Windows); VNC (macOS) +Maximum number of connections: 60 +Maximum number of connections per user: 60 +Hostname: `host.docker.internal` +Port: TODO (Windows); 5900 (macOS) +Authentication: Benutzername und Passwort des Geräts eingeben +Display: +Read-Only aktivieren +Cursor: Remote +Color Depth 32-Bit +Encoding: UTF-8 +-> Save ganz unten + 3. Schueler User +Users -> New User +Username: schueler +Password: schueler +Connections: Schule aktivieren +-> Save ganz unten diff --git a/guacamole/compose.yml b/guacamole/compose.yml new file mode 100644 index 0000000..b933d15 --- /dev/null +++ b/guacamole/compose.yml @@ -0,0 +1,17 @@ +# https://github.com/jwetzell/docker-guacamole + +# client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5. + +name: guacamole + +services: + guacamole: + image: jwetzell/guacamole:1.5.5 + container_name: guacamole + volumes: + - ./config:/config + ports: + - 80:8080 +volumes: + postgres: + driver: local \ No newline at end of file diff --git a/webtrees/compose.yml b/webtrees/compose.yml new file mode 100644 index 0000000..173126b --- /dev/null +++ b/webtrees/compose.yml @@ -0,0 +1,49 @@ +# https://github.com/fisharebest/webtrees + +# webtrees is the web's leading online collaborative genealogy application + +name: webtrees + +services: + webtrees: + image: ghcr.io/nathanvaughn/webtrees:latest + ports: + - 82:80 + #- 443:443 + environment: + PRETTY_URLS: "0" + HTTPS: "0" + HTTPS_REDIRECT: "0" + LANG: "en-US" + BASE_URL: "http://localhost:82" + DB_TYPE: "sqlite" + DB_NAME: "webtrees" + DB_PREFIX: "wt_" + WT_USER: "username" + WT_NAME: "Full Name" + WT_PASS: "badwtpassword" + WT_EMAIL: "me@example.com" + PUID: "1000" + PGID: "1000" + restart: unless-stopped + volumes: + # - ~/certs:/certs/ + - app_data:/var/www/webtrees/data/ + + # db: + # environment: + # MARIADB_DATABASE: "webtrees" + # MARIADB_USER: "webtrees" + # MARIADB_ROOT_PASSWORD: "badrootpassword" + # MARIADB_PASSWORD: "baddbpassword" + # # See: https://github.com/NathanVaughn/webtrees-docker/issues/145 + # image: docker.io/library/mariadb:10 + # restart: unless-stopped + # volumes: + # - db_data:/var/lib/mysql + +volumes: + db_data: + driver: local + app_data: + driver: local \ No newline at end of file