From 061ab0c2c0c914fabc7f32e6940e28218d3f5648 Mon Sep 17 00:00:00 2001 From: traveler Date: Tue, 20 Jan 2026 20:57:54 -0600 Subject: [PATCH] wiki --- archive/Caddyfile.old | 0 archive/WatchState.yaml | 0 archive/arr.yaml | 0 archive/nxterm.yaml | 0 archive/plex.yaml | 0 archive/sshwifty.yaml | 0 compose/docker2/Compose-vpn.yaml | 0 compose/docker4/.env | 0 compose/docker4/graylog.yaml | 0 compose/docker5/JellyFin.yaml | 0 compose/nas/.env | 0 swarm/JellySeer.yaml | 0 swarm/JellyStat.yaml | 0 swarm/SQL-mgmt.yaml | 0 swarm/authentik.yaml | 0 swarm/cloudcmd.yaml | 0 swarm/dozzle.yaml | 0 swarm/forgejo.yaml | 0 swarm/homepage.yaml | 0 swarm/hydra.yaml | 0 swarm/kavita.yaml | 0 swarm/kuma.yaml | 0 swarm/library.yaml | 0 swarm/mealie.yaml | 0 swarm/nzbget.yaml | 0 swarm/phpipam.yaml | 0 swarm/portainer-agent-stack.yml | 0 swarm/roundcube.yaml | 0 swarm/sabnzbd.yaml | 0 swarm/stack/caddy/Caddyfile | 0 swarm/stack/caddy/caddy.sh | 0 swarm/stack/caddy/caddy.yaml | 0 swarm/tmm.yaml | 0 swarm/vscode.yaml | 0 swarm/wallo.yaml | 0 swarm/webtop.yaml | 0 swarm/whisparr.yaml | 0 swarm/wiki.yaml | 103 +++++++++++++++++++++++++++++++ 38 files changed, 103 insertions(+) mode change 100755 => 100644 archive/Caddyfile.old mode change 100755 => 100644 archive/WatchState.yaml mode change 100755 => 100644 archive/arr.yaml mode change 100755 => 100644 archive/nxterm.yaml mode change 100755 => 100644 archive/plex.yaml mode change 100755 => 100644 archive/sshwifty.yaml mode change 100755 => 100644 compose/docker2/Compose-vpn.yaml mode change 100755 => 100644 compose/docker4/.env mode change 100755 => 100644 compose/docker4/graylog.yaml mode change 100755 => 100644 compose/docker5/JellyFin.yaml mode change 100755 => 100644 compose/nas/.env mode change 100755 => 100644 swarm/JellySeer.yaml mode change 100755 => 100644 swarm/JellyStat.yaml mode change 100755 => 100644 swarm/SQL-mgmt.yaml mode change 100755 => 100644 swarm/authentik.yaml mode change 100755 => 100644 swarm/cloudcmd.yaml mode change 100755 => 100644 swarm/dozzle.yaml mode change 100755 => 100644 swarm/forgejo.yaml mode change 100755 => 100644 swarm/homepage.yaml mode change 100755 => 100644 swarm/hydra.yaml mode change 100755 => 100644 swarm/kavita.yaml mode change 100755 => 100644 swarm/kuma.yaml mode change 100755 => 100644 swarm/library.yaml mode change 100755 => 100644 swarm/mealie.yaml mode change 100755 => 100644 swarm/nzbget.yaml mode change 100755 => 100644 swarm/phpipam.yaml mode change 100755 => 100644 swarm/portainer-agent-stack.yml mode change 100755 => 100644 swarm/roundcube.yaml mode change 100755 => 100644 swarm/sabnzbd.yaml mode change 100755 => 100644 swarm/stack/caddy/Caddyfile mode change 100755 => 100644 swarm/stack/caddy/caddy.sh mode change 100755 => 100644 swarm/stack/caddy/caddy.yaml mode change 100755 => 100644 swarm/tmm.yaml mode change 100755 => 100644 swarm/vscode.yaml mode change 100755 => 100644 swarm/wallo.yaml mode change 100755 => 100644 swarm/webtop.yaml mode change 100755 => 100644 swarm/whisparr.yaml create mode 100644 swarm/wiki.yaml diff --git a/archive/Caddyfile.old b/archive/Caddyfile.old old mode 100755 new mode 100644 diff --git a/archive/WatchState.yaml b/archive/WatchState.yaml old mode 100755 new mode 100644 diff --git a/archive/arr.yaml b/archive/arr.yaml old mode 100755 new mode 100644 diff --git a/archive/nxterm.yaml b/archive/nxterm.yaml old mode 100755 new mode 100644 diff --git a/archive/plex.yaml b/archive/plex.yaml old mode 100755 new mode 100644 diff --git a/archive/sshwifty.yaml b/archive/sshwifty.yaml old mode 100755 new mode 100644 diff --git a/compose/docker2/Compose-vpn.yaml b/compose/docker2/Compose-vpn.yaml old mode 100755 new mode 100644 diff --git a/compose/docker4/.env b/compose/docker4/.env old mode 100755 new mode 100644 diff --git a/compose/docker4/graylog.yaml b/compose/docker4/graylog.yaml old mode 100755 new mode 100644 diff --git a/compose/docker5/JellyFin.yaml b/compose/docker5/JellyFin.yaml old mode 100755 new mode 100644 diff --git a/compose/nas/.env b/compose/nas/.env old mode 100755 new mode 100644 diff --git a/swarm/JellySeer.yaml b/swarm/JellySeer.yaml old mode 100755 new mode 100644 diff --git a/swarm/JellyStat.yaml b/swarm/JellyStat.yaml old mode 100755 new mode 100644 diff --git a/swarm/SQL-mgmt.yaml b/swarm/SQL-mgmt.yaml old mode 100755 new mode 100644 diff --git a/swarm/authentik.yaml b/swarm/authentik.yaml old mode 100755 new mode 100644 diff --git a/swarm/cloudcmd.yaml b/swarm/cloudcmd.yaml old mode 100755 new mode 100644 diff --git a/swarm/dozzle.yaml b/swarm/dozzle.yaml old mode 100755 new mode 100644 diff --git a/swarm/forgejo.yaml b/swarm/forgejo.yaml old mode 100755 new mode 100644 diff --git a/swarm/homepage.yaml b/swarm/homepage.yaml old mode 100755 new mode 100644 diff --git a/swarm/hydra.yaml b/swarm/hydra.yaml old mode 100755 new mode 100644 diff --git a/swarm/kavita.yaml b/swarm/kavita.yaml old mode 100755 new mode 100644 diff --git a/swarm/kuma.yaml b/swarm/kuma.yaml old mode 100755 new mode 100644 diff --git a/swarm/library.yaml b/swarm/library.yaml old mode 100755 new mode 100644 diff --git a/swarm/mealie.yaml b/swarm/mealie.yaml old mode 100755 new mode 100644 diff --git a/swarm/nzbget.yaml b/swarm/nzbget.yaml old mode 100755 new mode 100644 diff --git a/swarm/phpipam.yaml b/swarm/phpipam.yaml old mode 100755 new mode 100644 diff --git a/swarm/portainer-agent-stack.yml b/swarm/portainer-agent-stack.yml old mode 100755 new mode 100644 diff --git a/swarm/roundcube.yaml b/swarm/roundcube.yaml old mode 100755 new mode 100644 diff --git a/swarm/sabnzbd.yaml b/swarm/sabnzbd.yaml old mode 100755 new mode 100644 diff --git a/swarm/stack/caddy/Caddyfile b/swarm/stack/caddy/Caddyfile old mode 100755 new mode 100644 diff --git a/swarm/stack/caddy/caddy.sh b/swarm/stack/caddy/caddy.sh old mode 100755 new mode 100644 diff --git a/swarm/stack/caddy/caddy.yaml b/swarm/stack/caddy/caddy.yaml old mode 100755 new mode 100644 diff --git a/swarm/tmm.yaml b/swarm/tmm.yaml old mode 100755 new mode 100644 diff --git a/swarm/vscode.yaml b/swarm/vscode.yaml old mode 100755 new mode 100644 diff --git a/swarm/wallo.yaml b/swarm/wallo.yaml old mode 100755 new mode 100644 diff --git a/swarm/webtop.yaml b/swarm/webtop.yaml old mode 100755 new mode 100644 diff --git a/swarm/whisparr.yaml b/swarm/whisparr.yaml old mode 100755 new mode 100644 diff --git a/swarm/wiki.yaml b/swarm/wiki.yaml new file mode 100644 index 0000000..e30fb68 --- /dev/null +++ b/swarm/wiki.yaml @@ -0,0 +1,103 @@ +version: "3.8" + +networks: + netgrimoire: + external: true + +services: + wikijs-db: + image: postgres:16-alpine + networks: + - netgrimoire + environment: + TZ: America/Chicago + POSTGRES_DB: wiki + POSTGRES_USER: wikijs + POSTGRES_PASSWORD: F@lcon13 + volumes: + - /DockerVol/wikijs-db:/var/lib/postgresql/data + deploy: + mode: replicated + replicas: 1 + placement: + constraints: + - node.hostname == dockerpi + - node.labels.cpu == arm + restart_policy: + condition: any + delay: 5s + max_attempts: 10 + window: 60s + labels: + diun.enable: "true" + + wikijs: + image: requarks/wiki:2 + networks: + - netgrimoire + # Run as your default container identity + user: "1964:1964" + environment: + TZ: America/Chicago + DB_TYPE: postgres + DB_HOST: wikijs-db + DB_PORT: "5432" + DB_USER: wikijs + DB_PASS: F@lcon13 + DB_NAME: wiki + volumes: + - /DockerVol/wikijs/data:/wiki/data + - /DockerVol/wikijs/repo:/wiki/repo + - /DockerVol/wikijs/ssh:/wiki/ssh:ro + deploy: + mode: replicated + replicas: 1 + placement: + constraints: + - node.hostname == dockerpi + - node.labels.cpu == arm + restart_policy: + condition: any + delay: 5s + max_attempts: 10 + window: 60s + labels: + diun.enable: "true" + + # Caddy (adjust hostnames to your domain) + caddy: wiki.netgrimoire.com + caddy.reverse_proxy: "{{upstreams 3000}}" + + # Kuma labels (your preferred pattern) + kuma.wikijs.http.name: "Wiki.js" + kuma.wikijs.http.url: "https://wiki.netgrimoire.com" + + drawio: + image: jgraph/drawio:latest + networks: + - netgrimoire + user: "1964:1964" + environment: + TZ: America/Chicago + deploy: + mode: replicated + replicas: 1 + placement: + constraints: + - node.hostname == dockerpi + - node.labels.cpu == arm + restart_policy: + condition: any + delay: 5s + max_attempts: 10 + window: 60s + labels: + diun.enable: "true" + + # Caddy (adjust hostnames to your domain) + caddy: draw.netgrimoire.com + caddy.reverse_proxy: "{{upstreams 8080}}" + + # Kuma labels + kuma.drawio.http.name: "draw.io" + kuma.drawio.http.url: "https://draw.netgrimoire.com"