We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d7774a commit 84cc13dCopy full SHA for 84cc13d
adit/settings/base.py
@@ -20,8 +20,8 @@
20
# set using the `.env` file (see `manage.py`). But some variables are only used in the Docker
21
# compose setup, so we need to provide defaults here.
22
env = environ.Env()
23
-llamacpp_dev_port = env.int("LLAMACPP_DEV_PORT")
24
-postgres_dev_port = env.int("POSTGRES_DEV_PORT")
+llamacpp_dev_port = env.int("LLAMACPP_DEV_PORT", default=8080) # type: ignore
+postgres_dev_port = env.int("POSTGRES_DEV_PORT", default=5432) # type: ignore
25
env = environ.Env(
26
DATABASE_URL=(str, f"postgres://postgres:postgres@localhost:{postgres_dev_port}/postgres"),
27
DBBACKUP_STORAGE_LOCATION=(str, "/temp/backups-radis"),
0 commit comments