Skip to content

Commit 73d508f

Browse files
committed
Updated docker setup
1 parent 235e9e1 commit 73d508f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docker-compose.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ services:
55
ports:
66
- "9494:9494"
77
volumes:
8-
- ./:/app/
9-
command: ["--notes_dir", "notes", "--port", "9494"]
8+
- notes:/app/notes # make sure the notes folder exists before running the container‚ otherwise the folder will be owned by root.
9+
# 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

Comments
 (0)