Skip to content

Commit

Permalink
tools: Default auth to off and provide a better default DB path (#788)
Browse files Browse the repository at this point in the history
Default auth to off and provide a better default DB path
  • Loading branch information
malexw authored Sep 26, 2024
1 parent e15e578 commit f83b64b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/backend/config/configuration.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ feature_flags:
use_community_features: true
auth:
enabled_auth:
- basic
backend_hostname: http://localhost:8000
frontend_hostname: http://localhost:4000
logger:
Expand Down
2 changes: 1 addition & 1 deletion src/backend/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class ToolSettings(BaseSettings, BaseModel):
class DatabaseSettings(BaseSettings, BaseModel):
model_config = SETTINGS_CONFIG
url: Optional[str] = Field(
default=None, validation_alias=AliasChoices("DATABASE_URL", "url")
default="postgresql+psycopg2://postgres:postgres@db:5432", validation_alias=AliasChoices("DATABASE_URL", "url")
)
migrate_token: Optional[str] = Field(
default=None, validation_alias=AliasChoices("MIGRATE_TOKEN", "migrate_token")
Expand Down

0 comments on commit f83b64b

Please sign in to comment.