Skip to content

Instantly share code, notes, and snippets.

@TechHutTV
Created January 3, 2025 19:09
Show Gist options
  • Select an option

  • Save TechHutTV/78676fa37ca600f3be8dfc0da74a835a to your computer and use it in GitHub Desktop.

Select an option

Save TechHutTV/78676fa37ca600f3be8dfc0da74a835a to your computer and use it in GitHub Desktop.
beaverhabits compose.yaml
# https://github.com/daya0576/beaverhabits
services:
beaverhabits:
container_name: beaverhabits
user: 1000:1000 # User permissions of your docker or default user.
environment:
- FIRST_DAY_OF_WEEK=0 # By default, the first day of the week is set as Monday. To change it to Sunday, you can set it as 6.
- HABITS_STORAGE=USER_DISK # DATABASE stores in a single SQLite database named habits.db. USER_DISK option saves in a local json file.
- MAX_USER_COUNT=1 # By setting it to 1, you can prevent others from signing up in the future.
- ENABLE_IOS_STANDALONE=true #E xperiential feature to enable standalone mode on iOS. The default setting is false.
- INDEX_SHOW_HABIT_COUNT=false # To display the total completed count badge on the main page. The default setting is false.
volumes:
- /home/brandon/docker/habits:/app/.user/ # Change directory to match your docker file scheme.
ports:
- 8080:8080
restart: unless-stopped
image: daya0576/beaverhabits:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment