From b3c9101220a4480accbe7324e4d8ccc85c189109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Rivera?= Date: Fri, 24 Jul 2026 17:42:26 +0200 Subject: [PATCH] flatnotes init --- Caddyfile | 4 ++++ bootstrap.sh | 3 ++- compose.yml | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/Caddyfile b/Caddyfile index 2b0d756..60a1c82 100644 --- a/Caddyfile +++ b/Caddyfile @@ -29,3 +29,7 @@ status.tomasrivera.ch { ntfy.tomasrivera.ch { reverse_proxy ntfy:80 } + +notes.tomasrivera.ch { + reverse_proxy flatnotes:8080 +} diff --git a/bootstrap.sh b/bootstrap.sh index 63f77f0..028ea6a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -155,7 +155,8 @@ mkdir -p \ /opt/server/freshrss \ /opt/server/filebrowser/database \ /opt/server/uptime-kuma \ - /opt/server/ntfy + /opt/server/ntfy \ + /opt/server/flatnotes sudo chown -R 1000:1000 /opt/server/filebrowser # somehow filebrowser cant acces it diff --git a/compose.yml b/compose.yml index 634ea63..a240bc0 100644 --- a/compose.yml +++ b/compose.yml @@ -102,6 +102,20 @@ services: interval: 30s timeout: 10s retries: 3 + flatnotes: + image: dullage/flatnotes:latest + container_name: flatnotes + restart: unless-stopped + + environment: + - TZ=Europe/Zurich + + volumes: + # Flatnotes config / app data + - /opt/server/flatnotes:/data + + # Your markdown notes + - /mnt/kdrive/Notes/quicknotes:/data/notes volumes: caddy_data: caddy_config: