-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.minimal.yml
More file actions
58 lines (55 loc) · 1.87 KB
/
Copy pathdocker-compose.minimal.yml
File metadata and controls
58 lines (55 loc) · 1.87 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# =============================================================================
# Docker Compose - Minimal CLI Configuration
# =============================================================================
# Lightweight stack for CLI-only operations.
# No external services required - just the CLI container with local mounts.
#
# Usage:
# docker compose -f docker-compose.minimal.yml run --rm cli analyze --help
# docker compose -f docker-compose.minimal.yml run --rm cli validate spec.yaml
# =============================================================================
version: '3.8'
services:
# ===========================================================================
# CLI Tool
# ===========================================================================
cli:
build:
context: .
dockerfile: docker/cli/Dockerfile
image: firstlight-cli:latest
container_name: firstlight-cli
environment:
- PYTHONPATH=/app
- LOG_LEVEL=info
volumes:
# Mount local directories for input/output
- ./data:/app/data
- ./output:/app/output
- ./examples:/app/examples:ro
# Mount OpenSpec schemas
- ./openspec:/app/openspec:ro
working_dir: /app
# No restart policy - CLI is run-and-exit
stdin_open: true
tty: true
# ===========================================================================
# Core Processing (Batch Mode)
# ===========================================================================
core:
build:
context: .
dockerfile: docker/core/Dockerfile
image: firstlight-core:latest
container_name: firstlight-core
environment:
- PYTHONPATH=/app
- LOG_LEVEL=info
volumes:
# Mount local directories for input/output
- ./data:/app/data
- ./output:/app/output
- ./examples:/app/examples:ro
working_dir: /app
stdin_open: true
tty: true