Fix used schema for postgres in Database URL
This commit is contained in:
parent
3bd1c5e88f
commit
e073b27bb1
@ -48,7 +48,7 @@
|
||||
|
||||
# `SERVICE_DATABASE_URL`
|
||||
|
||||
*Optional*, default value: `psql://{{ cookiecutter.project_slug }}:{{ cookiecutter.project_slug }}@postgres:5432/{{ cookiecutter.project_slug }}`
|
||||
*Optional*, default value: `asyncpg://{{ cookiecutter.project_slug }}:{{ cookiecutter.project_slug }}@postgres:5432/{{ cookiecutter.project_slug }}`
|
||||
|
||||
# `SERVICE_TIMEZONE`
|
||||
|
||||
|
@ -7,13 +7,13 @@ service:
|
||||
token_expiration_days: 28
|
||||
cors_origins:
|
||||
- "http://localhost:5000"
|
||||
- "https://example.com"
|
||||
- "https://{{ cookiecutter.project_slug }}.xyz"
|
||||
|
||||
environment: "local"
|
||||
log_level: "DEBUG"
|
||||
|
||||
redis_url: "redis://redis:6379"
|
||||
database_url: "psql://{{ cookiecutter.project_slug }}:{{ cookiecutter.project_slug }}@postgres:5432/{{ cookiecutter.project_slug }}"
|
||||
database_url: "asyncpg://{{ cookiecutter.project_slug }}:{{ cookiecutter.project_slug }}@postgres:5432/{{ cookiecutter.project_slug }}"
|
||||
|
||||
timezone: "UTC"
|
||||
sentry_url: null
|
||||
|
@ -24,7 +24,7 @@ class ProjectSettings(ProjectBaseSettings):
|
||||
|
||||
# Background task config
|
||||
redis_url: RedisDsn = Field(RedisDsn(url="redis://redis:6379"))
|
||||
database_url: str = Field("psql://{{ cookiecutter.project_slug }}:{{ cookiecutter.project_slug }}@postgres:5432/{{ cookiecutter.project_slug }}")
|
||||
database_url: str = Field("asyncpg://{{ cookiecutter.project_slug }}:{{ cookiecutter.project_slug }}@postgres:5432/{{ cookiecutter.project_slug }}")
|
||||
|
||||
# Various
|
||||
timezone: str = Field(
|
||||
|
Loading…
x
Reference in New Issue
Block a user