Add flatnotes

This commit is contained in:
whitney 2025-09-02 15:26:28 -07:00
parent bc87de3f2a
commit c29775050c
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,6 @@
PUID=1000
PGID=1000
FLATNOTES_AUTH_TYPE="password"
FLATNOTES_USERNAME="user"
FLATNOTES_PASSWORD="password"
FLATNOTES_SECRET_KEY="aLongRandomSeriesOfCharacters"

1
productivity/flatnotes/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.env

View File

View File

@ -0,0 +1,21 @@
networks:
traefik:
external: true
services:
flatnotes:
container_name: flatnotes
image: dullage/flatnotes:latest
networks:
- traefik
env_file:
- .env
volumes:
- "/pwspool/software/flatnotes:/data"
- "/pwspool/software/flatnotes/index"
restart: unless-stopped
labels:
- traefik.http.routers.flatnotes.rule=Host(`flatnotes.whitney.rip`)
- traefik.http.routers.flatnotes.tls=true
- traefik.http.routers.flatnotes.tls.certresolver=lets-encrypt
- traefik.http.services.flatnotes.loadbalancer.server.port=8080