diff --git a/Docker/flatnotes/docker-compose.yml b/Docker/flatnotes/docker-compose.yml new file mode 100644 index 0000000..cdf26e6 --- /dev/null +++ b/Docker/flatnotes/docker-compose.yml @@ -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 \ No newline at end of file