docs: add native run guide and restore admin creation in setup.sh

This commit is contained in:
datadunia
2026-05-23 20:35:13 +07:00
parent 715930f7a5
commit cb674c964b
3 changed files with 50 additions and 11 deletions
+5 -1
View File
@@ -30,7 +30,11 @@ docker compose build --build-arg VITE_API_BASE_URL=$VITE_API_BASE_URL
echo "[+] Restarting containers..."
docker compose up -d
# 5. Cleanup
# 5. Run Database Migrations
echo "[+] Running automated database migrations..."
docker exec nexus-guard-suite-server-core-1 ./server-core -migrate-prod || echo "[!] Migration skipped or failed. It might not be needed."
# 6. Cleanup
echo "[+] Cleaning up unused dangling images to free up space..."
docker image prune -f