Skip to content

Commit d49cd8a

Browse files
authored
set min cpu and memory. also add qdrant container (#1845)
* set min cpu and memory. also add qdrant container * exposing qdrant port
1 parent c3ccd2f commit d49cd8a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
"tika",
1010
"celery",
1111
"nginx",
12-
"redis"
12+
"redis",
13+
"qdrant"
1314
],
15+
"hostRequirements": { "cpus": 4, "memory": "8gb" },
1416
"secrets": {
1517
"EDX_API_CLIENT_ID": {},
1618
"EDX_API_CLIENT_SECRET": {},
@@ -23,5 +25,5 @@
2325
},
2426
"features": {},
2527
"postStartCommand": "while [ \"$(python manage.py showmigrations | grep \"\\[ \\]\" | wc -l)\" -ne \"0\" ]; do echo \"waiting for migrations\"; sleep 2; done && python manage.py update_offered_by && python manage.py update_platforms && python manage.py update_departments_schools && python manage.py update_course_number_departments && python manage.py backpopulate_mitxonline_data && python manage.py backpopulate_micromasters_data && python manage.py backpopulate_resource_channels --overwrite --all && python manage.py recreate_index --all",
26-
"forwardPorts": [8062, 8063]
28+
"forwardPorts": [8062, 8063, 6333]
2729
}

0 commit comments

Comments
 (0)