18 lines
866 B
YAML
18 lines
866 B
YAML
services:
|
|
beaverhabits:
|
|
container_name: beaverhabits
|
|
user: 1000:1000 # User permissions of your docker or default user.
|
|
environment:
|
|
- MAX_USER_COUNT=10
|
|
- INDEX_SHOW_HABIT_COUNT=true # To display total completed count along with the habit name on the index page. The default setting is false.
|
|
- HABITS_STORAGE=USER_DISK # DATABASE stores in a single SQLite database named habits.db. USER_DISK option saves in a local json file.
|
|
#- TRUSTED_LOCAL_EMAIL=huonghaiduynhim@gmail.com # Skip authentication
|
|
- INDEX_HABIT_DATE_COLUMNS=7 # Customize the date columns for the index page.
|
|
#- ENABLE_IOS_STANDALONE=true
|
|
volumes:
|
|
- /docker-dev/beaverhabits/:/app/.user/ # Change directory to match your docker file scheme.
|
|
ports:
|
|
- 8006:8080
|
|
restart: unless-stopped
|
|
image: daya0576/beaverhabits:latest
|