add flatnotes

This commit is contained in:
2023-06-14 14:23:29 +08:00
parent e8ce094544
commit 6a1e13b6a4

View File

@@ -0,0 +1,28 @@
version: "3"
services:
flatnotes:
container_name: flatnotes
image: dullage/flatnotes:latest
environment:
PUID: 1000
GUID: 1000
FLATNOTES_AUTH_TYPE: "password"
FLATNOTES_USERNAME: "user"
FLATNOTES_PASSWORD: "changeMe!"
FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
volumes:
- "./data:/data"
# Optional. Allows you to save the search index in a different location:
# - "./index:/data/.flatnotes"
ports:
- "8080:8080"
restart: unless-stopped
networks:
nginx:
aliases:
- flatnotes
networks:
nginx:
external: true