-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 974 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (30 loc) · 974 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
31
services:
api:
build:
context: .
dockerfile: Dockerfile.api
environment:
PORT: 3001
GEMINI_API_KEY: ${GEMINI_API_KEY:-}
GEMINI_API_BASE: ${GEMINI_API_BASE:-https://generativelanguage.googleapis.com}
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-}
ENABLE_MCP_STDIO: ${ENABLE_MCP_STDIO:-false}
ENABLE_MCP_PRIVATE_HTTP: ${ENABLE_MCP_PRIVATE_HTTP:-false}
expose:
- '3001'
restart: unless-stopped
web:
build:
context: .
dockerfile: Dockerfile.web
depends_on:
- api
environment:
RUNTIME_SERVER_MANAGED_API: ${RUNTIME_SERVER_MANAGED_API:-false}
RUNTIME_USE_CUSTOM_API_CONFIG: ${RUNTIME_USE_CUSTOM_API_CONFIG:-true}
RUNTIME_USE_API_PROXY: ${RUNTIME_USE_API_PROXY:-true}
RUNTIME_API_PROXY_URL: ${RUNTIME_API_PROXY_URL:-/api/gemini}
RUNTIME_PYODIDE_BASE_URL: ${RUNTIME_PYODIDE_BASE_URL:-}
ports:
- '${WEB_PORT:-8080}:80'
restart: unless-stopped