Spaces:
Sleeping
Sleeping
File size: 686 Bytes
a9df8b1 | 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.9'
services:
api:
build:
context: ./skillwiki
dockerfile: Dockerfile
ports:
- "8000:8000"
environment:
- LLM_API_KEY=${LLM_API_KEY}
- LLM_MODEL=${LLM_MODEL:-claude-sonnet-4-6}
command: >
python -m skillwiki.api.main
--api-key ${LLM_API_KEY}
--host 0.0.0.0
--port 8000
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
frontend:
build:
context: ./skillwiki-frontend
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- api
networks:
default:
name: skillwiki-network
|