Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 committed Feb 4, 2025
1 parent 8d8d242 commit 0a8f493
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM python:3.12-slim AS python-base
COPY --from=ghcr.io/astral-sh/uv:0.5.26 /uv /uvx /bin/
ENV UV_COMPILE_BYTECODE=1 \
\
PYSETUP_PATH="/opt/pysetup" \
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ services:
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.
# Skip authentication
- TRUSTED_LOCAL_EMAIL=<[email protected]>
volumes:
- /path/to/beaver/habits:/app/.user/ # Change directory to match your docker file scheme.
ports:
Expand Down
2 changes: 1 addition & 1 deletion beaverhabits/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def is_dev(self):
return self.ENV == "dev"

def is_trusted_env(self):
return self.TRUSTED_EMAIL_HEADER or self.TRUSTED_LOCAL_EMAIL
return self.TRUSTED_LOCAL_EMAIL


settings = Settings()
21 changes: 11 additions & 10 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a8f493

Please sign in to comment.