Charles Grandjean commited on
Commit
8ad62dc
·
1 Parent(s): 6d15304
Files changed (3) hide show
  1. Dockerfile +2 -2
  2. README.md +1 -1
  3. startup.sh +1 -1
Dockerfile CHANGED
@@ -10,7 +10,7 @@ ENV PYTHONUNBUFFERED=1
10
  ENV PYTHONIOENCODING=utf-8
11
  ENV LIGHTRAG_HOST=127.0.0.1
12
  ENV LIGHTRAG_PORT=9621
13
- ENV API_PORT=7860
14
 
15
  # Install system dependencies
16
  RUN apt-get update && apt-get install -y \
@@ -35,7 +35,7 @@ RUN chmod +x /app/startup.sh && chown appuser:appuser /app/startup.sh
35
 
36
  USER appuser
37
 
38
- EXPOSE 7860
39
 
40
  HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
41
  CMD sh -c 'curl -f http://localhost:${PORT:-8000}/health || exit 1'
 
10
  ENV PYTHONIOENCODING=utf-8
11
  ENV LIGHTRAG_HOST=127.0.0.1
12
  ENV LIGHTRAG_PORT=9621
13
+ ENV API_PORT=8000
14
 
15
  # Install system dependencies
16
  RUN apt-get update && apt-get install -y \
 
35
 
36
  USER appuser
37
 
38
+ EXPOSE 8000
39
 
40
  HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
41
  CMD sh -c 'curl -f http://localhost:${PORT:-8000}/health || exit 1'
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
  title: CyberLegalAIendpoint
3
  sdk: docker
4
- app_port: 7860
5
  ---
6
  # CyberLegal AI - LangGraph Agent
7
 
 
1
  ---
2
  title: CyberLegalAIendpoint
3
  sdk: docker
4
+ app_port: 8000
5
  ---
6
  # CyberLegal AI - LangGraph Agent
7
 
startup.sh CHANGED
@@ -3,7 +3,7 @@ set -euo pipefail
3
 
4
  LIGHTRAG_HOST="${LIGHTRAG_HOST:-127.0.0.1}"
5
  LIGHTRAG_PORT="${LIGHTRAG_PORT:-9621}"
6
- PUBLIC_PORT="${PORT:-${API_PORT:-7860}}"
7
 
8
  echo "🚀 Starting CyberLegal AI Stack..."
9
  echo "Step 1: Starting LightRAG server on ${LIGHTRAG_HOST}:${LIGHTRAG_PORT} ..."
 
3
 
4
  LIGHTRAG_HOST="${LIGHTRAG_HOST:-127.0.0.1}"
5
  LIGHTRAG_PORT="${LIGHTRAG_PORT:-9621}"
6
+ PUBLIC_PORT="${PORT:-${API_PORT:-8000}}"
7
 
8
  echo "🚀 Starting CyberLegal AI Stack..."
9
  echo "Step 1: Starting LightRAG server on ${LIGHTRAG_HOST}:${LIGHTRAG_PORT} ..."