Skip to main content

Flatnotes

version: "3"

services:
  flatnotes:
    container_name: flatnotes
    image: dullage/flatnotes:latest
    environment:
      PUID: 998
      PGID: 100
      FLATNOTES_AUTH_TYPE: "password"
      FLATNOTES_USERNAME: "user"
      FLATNOTES_PASSWORD: "password"
      FLATNOTES_SECRET_KEY: "32keysmegasecret"
    volumes:
      - "/srv/path/Flatnotes/data:/data"
      # Optional. Allows you to save the search index in a different location: 
      - "/srv/path/Flatnotes/index:/data/.flatnotes"
    ports:
      - "4568:8080"  #og 8080:8080
    restart: unless-stopped