File size: 474 Bytes
99bbd9b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
version: "3.8"
services:
  app:
    image: ${{ secrets.ECR_REGISTRY }}/${{ secrets.ECR_REPOSITORY }}:latest
    ports:
      - "80:80"  # Map host port 80 to container port 80
      - "8000:8000"
      - "8501:8501" # Expose Streamlit port
    environment:
      - PYTHONUNBUFFERED=1
    restart: unless-stopped
    command: |
      uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload & streamlit run app/frontend/Talk2SQL.py --server.address=0.0.0.0 --server.port=8501