v0.1 init devcontainer
This commit is contained in:
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"c51d38a2401c4cc4a071f338b8bd1a2a","collectionName":"auth_sessions","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"9e25eb4295c64aabb357a6346e2d60eb","collectionName":"auth_users","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"6ca0e36ee7474efbaf1b1506d7319f89","collectionName":"auth_verification_tokens","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"6791d4f3bf194ee093cc26b82581858e","collectionName":"chat_history","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"2db37bd041f347d58df385bc3ac6c637","collectionName":"chatbots","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"1016ef88a51a42349b9807e630a5f052","collectionName":"configuration","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"fd17fc09b5964e9fa65b51a5830a22a8","collectionName":"conversation","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"92729e513301451ba079302a6ffe5ed9","collectionName":"conversation_log","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"7bddefd7204441c980ccd5054dba99b0","collectionName":"cron","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"_fts":"text","_ftsx":{"$numberInt":"1"}},"name":"email_text","weights":{"email":{"$numberInt":"1"}},"default_language":"english","language_override":"language","textIndexVersion":{"$numberInt":"3"}}],"uuid":"cb332f2ce86a494e82f72d5b9f065130","collectionName":"customer","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"a72574da30bf4e1ba7d4436ac6e4b22d","collectionName":"document","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"},{"v":{"$numberInt":"2"},"key":{"_fts":"text","_ftsx":{"$numberInt":"1"}},"name":"text_key_text","weights":{"text_key":{"$numberInt":"1"}},"default_language":"english","language_override":"language","textIndexVersion":{"$numberInt":"3"}}],"uuid":"93ecfe1c3ef542b18c611f511c79af92","collectionName":"document_node","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"07142de42c10459d92cd286022ff245b","collectionName":"document_node_fusion","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"288231cd881244a7943406ce8e06b10c","collectionName":"document_node_media","type":"collection"}
|
||||
Executable
+27
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# MongoDB host and port
|
||||
MONGO_HOST="localhost"
|
||||
MONGO_PORT="27017"
|
||||
|
||||
# Database name
|
||||
DB_NAME="voxadata"
|
||||
|
||||
# Wait for MongoDB to boot
|
||||
echo "Waiting for MongoDB to start..."
|
||||
until mongosh --host $MONGO_HOST --port $MONGO_PORT --eval "print(\"waited for connection\")"
|
||||
do
|
||||
sleep 1
|
||||
done
|
||||
echo "MongoDB started"
|
||||
|
||||
echo "Creating $DB_NAME database and importing BSON files..."
|
||||
|
||||
# Loop through all BSON files in the directory and import them
|
||||
for bson_file in /docker-entrypoint-initdb.d/*.bson; do
|
||||
echo "Importing $bson_file into $DB_NAME..."
|
||||
mongorestore --host $MONGO_HOST --port $MONGO_PORT --db $DB_NAME --drop --verbose "$bson_file"
|
||||
done
|
||||
|
||||
echo "Database $DB_NAME setup completed."
|
||||
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"249ee9213eb949a98abe7e6c1d7f77f9","collectionName":"membership","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"de6cf044c17843689792b004e5f71786","collectionName":"models","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"f785b61c44f149f4993cca6b07e2fb8a","collectionName":"negative_answer","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"27908e427f7f43218e8428bfe64d6e6e","collectionName":"perfect_answer","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"27b5c932cf56485e8ac94588c25407a9","collectionName":"product","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"7b683dc893ba494da2d10142caf3744f","collectionName":"prompt_shot","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"80bbf329c56142f9b396bd4bd9e432ce","collectionName":"prompt_tuning","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"f94e1bc108204916b435e9e106dd516a","collectionName":"scratchpad","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"0bf4b1a2b409400584dfabcaefc8a830","collectionName":"semantic_routes","type":"collection"}
|
||||
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"37af3c19f65c4d6e888df01f196338ac","collectionName":"subscription","type":"collection"}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_"}],"uuid":"d9b1309b67064da3a2a559e9e9a6b480","collectionName":"wrong_answer","type":"collection"}
|
||||
Reference in New Issue
Block a user