-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
34 lines (32 loc) · 1.08 KB
/
docker-compose.dev.yml
File metadata and controls
34 lines (32 loc) · 1.08 KB
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
# Oxtools Local Development
# ==========================
# ONE container runs ALL Python tools via the unified runner.
#
# Usage:
# docker compose -f docker-compose.dev.yml up --build
#
# Contributors: Just add your tool to services/python-tools/tools/
# No Docker knowledge needed. No ports to manage.
services:
# --- Unified Python Tool Runner ---
# Loads ALL Python tools from services/python-tools/tools/
# Each tool is accessible at: /api/tools/{tool-id}
python-tools:
build: ./services/python-tools
ports:
- "9080:9080" # ONE port for ALL Python tools
environment:
- OXLO_API_KEY=${OXLO_API_KEY}
- OXLO_BASE_URL=https://api.oxlo.ai/v1
- TAVILY_API_KEY=${TAVILY_API_KEY}
volumes:
# Mount tools dir for live reload during development
- ./services/python-tools/tools:/app/tools
restart: unless-stopped
# Legacy standalone services (will be migrated to unified runner)
# screenshot-to-code:
# build: ./services/screenshot-to-code
# ports:
# - "9081:8000"
# environment:
# - OXLO_API_KEY=${OXLO_API_KEY}