Skip to content

Commit 84cc13d

Browse files
committed
Fix dev setup
1 parent 3d7774a commit 84cc13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adit/settings/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
# set using the `.env` file (see `manage.py`). But some variables are only used in the Docker
2121
# compose setup, so we need to provide defaults here.
2222
env = environ.Env()
23-
llamacpp_dev_port = env.int("LLAMACPP_DEV_PORT")
24-
postgres_dev_port = env.int("POSTGRES_DEV_PORT")
23+
llamacpp_dev_port = env.int("LLAMACPP_DEV_PORT", default=8080) # type: ignore
24+
postgres_dev_port = env.int("POSTGRES_DEV_PORT", default=5432) # type: ignore
2525
env = environ.Env(
2626
DATABASE_URL=(str, f"postgres://postgres:postgres@localhost:{postgres_dev_port}/postgres"),
2727
DBBACKUP_STORAGE_LOCATION=(str, "/temp/backups-radis"),

0 commit comments

Comments
 (0)