We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 235e9e1 commit 73d508fCopy full SHA for 73d508f
docker-compose.yml
@@ -5,5 +5,8 @@ services:
5
ports:
6
- "9494:9494"
7
volumes:
8
- - ./:/app/
9
- command: ["--notes_dir", "notes", "--port", "9494"]
+ - notes:/app/notes # make sure the notes folder exists before running the container‚ otherwise the folder will be owned by root.
+ # you can also use a custom path for the notes directory
10
+ #- /home/yourusername/Documents/notes:/app/notes
11
+ command: ["--notes_dir", "/app/notes"]
12
+ user: "1000:1000" # set to your own local UID:GID, run `id -u` to find UID and run `id -g` to find GID
0 commit comments