Updated README, fixed a few bugs with user creation, and added docker support to run MongoDB (needs testing)

This commit is contained in:
Karmaa
2025-03-11 20:34:49 -05:00
parent 4e277bdd07
commit 32f88417e5
9 changed files with 65 additions and 21 deletions

View File

@@ -1,10 +1,16 @@
#!/bin/sh
# Start MongoDB in the background before the delay
mongod --fork --logpath /var/log/mongodb.log --bind_ip 0.0.0.0
# Start NGINX in background
# Delay for 5 seconds to ensure MongoDB has started
sleep 5
# Start NGINX in the background
nginx -g "daemon off;" &
# Start Node.js backend
node src/backend/server.cjs
node src/backend/ssh.cjs &
node src/backend/database.cjs &
# Keep container running
# Wait for processes to keep the container running
wait