Skip to content

Commit

Permalink
Fixed some common issues
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Jun 24, 2024
1 parent bc4f5fc commit 0b38b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,4 @@
DISTANCE_THRESHOLD = 1.8 # 1.8 degrees is approximately 200km
MAPS_API_KEY = os.getenv("MAPS_API_KEY")

MULTI_TENANCY = False
MULTI_TENANCY = get_from_env("MULTI_TENANCY", False, type_cast=str_to_bool)
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ services:
ALLOWED_HOSTS: "*"
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY: $SOCIAL_AUTH_GOOGLE_OAUTH2_KEY
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET: $SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET
SOCIAL_AUTH_GITHUB_KEY: $SOCIAL_AUTH_GITHUB_KEY
SOCIAL_AUTH_GITHUB_SECRET: $SOCIAL_AUTH_GITHUB_SECRET
MAPS_API_KEY: $MAPS_API_KEY
MULTI_TENANCY: "1"
ports:
Expand Down

0 comments on commit 0b38b7a

Please sign in to comment.