mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-11 18:18:38 +02:00
flatnotes init
This commit is contained in:
@@ -29,3 +29,7 @@ status.tomasrivera.ch {
|
|||||||
ntfy.tomasrivera.ch {
|
ntfy.tomasrivera.ch {
|
||||||
reverse_proxy ntfy:80
|
reverse_proxy ntfy:80
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notes.tomasrivera.ch {
|
||||||
|
reverse_proxy flatnotes:8080
|
||||||
|
}
|
||||||
|
|||||||
+2
-1
@@ -155,7 +155,8 @@ mkdir -p \
|
|||||||
/opt/server/freshrss \
|
/opt/server/freshrss \
|
||||||
/opt/server/filebrowser/database \
|
/opt/server/filebrowser/database \
|
||||||
/opt/server/uptime-kuma \
|
/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
|
sudo chown -R 1000:1000 /opt/server/filebrowser # somehow filebrowser cant acces it
|
||||||
|
|
||||||
|
|||||||
+14
@@ -102,6 +102,20 @@ services:
|
|||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
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:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
caddy_config:
|
caddy_config:
|
||||||
|
|||||||
Reference in New Issue
Block a user