20 lines
611 B
Django/Jinja
20 lines
611 B
Django/Jinja
services:
|
|
beaverhabits:
|
|
container_name: beaverhabits
|
|
user: 1000:1000
|
|
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.
|
|
- MAX_USER_COUNT=1
|
|
volumes:
|
|
- ./data:/app/.user/ # Change directory to match your docker file scheme.
|
|
restart: unless-stopped
|
|
image: daya0576/beaverhabits:latest
|
|
|
|
volumes:
|
|
data:
|
|
|
|
networks:
|
|
default:
|
|
external: true
|
|
name: lava |