-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 1.33 KB
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (39 loc) · 1.33 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
version: "3.9"
# ============================================================================
# Agent Mission Control — Hermes Mission Control Dashboard
# JorahOne
#
# Self-contained Python HTTP server with HTML/JS frontend.
# Reads Hermes state from ~/.hermes/ on the host.
# ============================================================================
services:
mission-control:
build:
context: .
dockerfile: Dockerfile
image: jorahone/agent-mission-control:latest
container_name: agent-mission-control
ports:
- "${PORT:-51763}:${PORT:-51763}"
env_file:
- .env
environment:
- PORT=${PORT:-51763}
- BIND=${BIND:-<ip-address>}
- MISSION_CONTROL_API_KEY=${MISSION_CONTROL_API_KEY:-}
- HERMES_HOME=${HERMES_HOME:-/hermes-home}
- MISSION_CONTROL_CONTENT_DIR=${MISSION_CONTROL_CONTENT_DIR:-/app/content}
volumes:
# Mount the host Hermes home for state/agent-logs access
- ${HERMES_HOME:-~/.hermes}:/hermes-home:ro
# Persistent board database
- board-data:/app
restart: unless-stopped
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:${PORT:-51763}/api/health', timeout=5)"]
interval: 30s
timeout: 5s
retries: 3
start_period: 5s
volumes:
board-data: