forked from MaxGhenis/openmessage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 873 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (29 loc) · 873 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
# OpenMessage as a headless server with persistent storage.
#
# Usage:
# docker compose up -d
# docker compose exec openmessage openmessage pair # one-time
# # then connect Claude / other MCP clients to http://localhost:7007/mcp/sse
services:
openmessage:
build: .
image: openmessage:latest
container_name: openmessage
restart: unless-stopped
ports:
- "7007:7007"
volumes:
- openmessage-data:/data
environment:
OPENMESSAGES_DATA_DIR: /data
OPENMESSAGES_HOST: 0.0.0.0
OPENMESSAGES_PORT: "7007"
# Set to "1" to send anonymous heartbeats (off by default).
# OPENMESSAGE_TELEMETRY_ENABLED: "0"
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:7007/api/status >/dev/null || exit 1"]
interval: 60s
timeout: 5s
retries: 3
volumes:
openmessage-data: