Spaces:
Sleeping
Sleeping
File size: 650 Bytes
2de095a 79899c0 2de095a |
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 27 28 29 30 31 32 33 34 35 36 |
version: '3.8'
services:
# 主Streamlit应用
streamlit-app:
build: .
container_name: streamlit-mcp-app
ports:
- "8501:8501"
environment:
- USE_LOGIN=false
volumes:
- ./config.json:/app/config.json:ro
- ./.env:/app/.env:ro
networks:
- mcp-network
restart: unless-stopped
depends_on:
- retrieve-service
# Retrieve服务
retrieve-service:
build: ./python-services/Retrieve
container_name: retrieve-service
ports:
- "9487:9487"
networks:
- mcp-network
restart: unless-stopped
networks:
mcp-network:
driver: bridge
volumes:
app-data: |