techdocs-graphrag / entrypoint.sh
nvikou's picture
Deploy TechDocs GraphRAG
da21448 verified
Raw History Blame Contribute Delete
399 Bytes
#!/usr/bin/env bash
set -euo pipefail
export NEO4J_PASSWORD="${NEO4J_PASSWORD:-techdocs-local-password}"
neo4j-admin dbms set-initial-password "$NEO4J_PASSWORD" > /dev/null 2>&1 || true
neo4j start
techdocs-index data --wait 120 --if-empty \
|| echo "Indexation initiale impossible : l'application démarre sans corpus."
exec streamlit run app.py --server.port=7860 --server.address=0.0.0.0