-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (58 loc) · 1.57 KB
/
Copy pathdocker-compose.yml
File metadata and controls
59 lines (58 loc) · 1.57 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
59
services:
conductor:
build:
context: .
dockerfile: Dockerfile
image: conductor-engine:latest
container_name: conductor
restart: unless-stopped
ports:
- "8080:8080"
volumes:
# Task store (persistent)
- conductor_data:/var/lib/conductor
# Capability config (read-only)
- ./config:/etc/conductor/config:ro
# TLS certificates (read-only, create before start)
- ./deploy/tls:/etc/conductor/tls:ro
# API keys (writable — generated by `cond api-key generate`)
- conductor_keys:/var/lib/conductor/keys
environment:
- CONDUCTOR_STORE=/var/lib/conductor/tasks.json
- CONDUCTOR_CONFIG=/etc/conductor/config/capabilities.yaml
- CONDUCTOR_API_KEYS=/var/lib/conductor/keys/api_keys.json
command:
- cond
- serve
- --host
- "0.0.0.0"
- --port
- "8080"
- --store
- /var/lib/conductor/tasks.json
- --config
- /etc/conductor/config/capabilities.yaml
- --api-key-path
- /var/lib/conductor/keys/api_keys.json
- --tls-cert
- /etc/conductor/tls/cert.pem
- --tls-key
- /etc/conductor/tls/key.pem
- --policy
- risk
- --log-level
- info
healthcheck:
test: ["CMD", "cond", "health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
depends_on: []
# No external dependencies in minimal mode.
# Add postgres/redis services here when using those store backends.
volumes:
conductor_data:
driver: local
conductor_keys:
driver: local