Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 authored Jan 4, 2025
1 parent d9ee2ea commit 0e2dfa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ services:
user: 1000:1000 # User permissions of your docker or default user.
environment:
# See the note below to find all the environment variables
- HABITS_STORAGE=USER_DISK # DATABASE stores in a single SQLite database named habits.db. USER_DISK option saves in a local json file.
volumes:
- /path/to/beaver/habits:/app/.user/ # Change directory to match your docker file scheme.
ports:
Expand All @@ -77,9 +78,8 @@ services:
image: daya0576/beaverhabits:latest
```
> [!IMPORTANT]
> The container starts as nobody to increase the security and make it OpenShift compatible.
> To avoid [permission issues](https://github.com/daya0576/beaverhabits/discussions/31), ensure that the UID owning the host folder aligns with the UID of the user inside the container.
P.S. The container starts as nobody to increase the security and make it OpenShift compatible.
To avoid [permission issues](https://github.com/daya0576/beaverhabits/discussions/31), ensure that the UID owning the host folder aligns with the UID of the user inside the container.
## Options
Expand Down

0 comments on commit 0e2dfa9

Please sign in to comment.