-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (31 loc) · 1.2 KB
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (31 loc) · 1.2 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
version: "3.9"
# CoordiNode development stack for SDK integration testing.
# Usage:
# docker compose up -d
# curl http://localhost:7084/health
services:
coordinode:
# The same 0.6.0 digest the demo stack and the integration job run, so the
# quick start does not hand a newcomer an older server than everything else
# here is tested against. Pinned by digest because a tag can be re-pushed.
image: ghcr.io/structured-world/coordinode@sha256:f7e0ee8515868bc068f1e2f66d499a4acf5e9b7bce76bd5913bf805c7f9fd6da
# Named for this repository rather than plain `coordinode`: the server
# repository runs its own compose stack that claims that name, and a bare
# name is global to the daemon.
container_name: coordinode-sdk
ports:
- "7080:7080" # gRPC
- "7081:7081" # REST / HTTP
- "7084:7084" # Prometheus + /health + /ready
volumes:
- coordinode_data:/data
command:
- serve
- --addr=[::]:7080
- --data=/data
restart: unless-stopped
# No healthcheck: the image is built FROM scratch, so it has no shell and
# no wget for Docker to exec. Probe http://localhost:7084/health from the
# host instead.
volumes:
coordinode_data: