-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (28 loc) · 899 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (28 loc) · 899 Bytes
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
version: '3.8'
services:
backend:
build: .
container_name: boreal-backend
restart: unless-stopped
ports:
- "8000:8000"
environment:
# This pulls the API key from your host machine's environment variables
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- ANTHROPIC_BASE_URL=https://openrouter.ai/api
- ANTHROPIC_AUTH_TOKEN=${OPENROUTER_API_KEY}
- ANTHROPIC_API_KEY=${OPENROUTER_API_KEY}
- ANTHROPIC_MODEL=openrouter/free
# Ensures Python print statements instantly flush to docker logs
- PYTHONUNBUFFERED=1
frontend:
image: nginx:alpine
container_name: boreal-frontend
restart: unless-stopped
ports:
- "8080:80"
volumes:
# Maps your local index.html directly into the Nginx web root as read-only
- ./frontend/index.html:/usr/share/nginx/html/index.html:ro
depends_on:
- backend