File size: 721 Bytes
0913c52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '3.8'

services:
  streamlit:
    build:
      context: ..
      dockerfile: streamlit-client/Dockerfile
    container_name: scievo-streamlit
    ports:
      - "8501:8501"
    volumes:
      - ./case-study-memory:/app/streamlit-client/case-study-memory
      - ./workspace:/app/streamlit-client/workspace
      - ./tmp_brain:/app/streamlit-client/tmp_brain
      - ../.env:/app/.env:ro
    environment:
      - BRAIN_DIR=/app/streamlit-client/tmp_brain
      - WORKSPACE_PATH=/app/streamlit-client/workspace
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:8501/_stcore/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s