-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathcompose.yaml
More file actions
47 lines (44 loc) 路 1.05 KB
/
Copy pathcompose.yaml
File metadata and controls
47 lines (44 loc) 路 1.05 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
name: ${NAMESPACE:-zilla-grpc-proxy}
services:
zilla:
image: ghcr.io/aklivity/zilla:${ZILLA_VERSION:-latest}
restart: unless-stopped
hostname: zilla.examples.dev
ports:
- 7151:7151
- 7153:7153
healthcheck:
interval: 5s
timeout: 3s
retries: 15
start_period: 15s
test: ["CMD", "sh", "-c", "test -f /var/run/zilla/ready"]
environment:
KEYSTORE_PASSWORD: generated
ECHO_SERVER_HOST: grpc-echo
ECHO_SERVER_PORT: 50051
ZILLA_INCUBATOR_ENABLED: "true"
volumes:
- ./etc:/etc/zilla
command: start -v -e
grpc-echo:
image: ghcr.io/aklivity/extras-grpc-echo-server:sha-478b2ce
command: ["--port", "50051"]
ports:
- 50051:50051
healthcheck:
test: ["CMD", "nc", "-z", "127.0.0.1", "50051"]
interval: 10s
timeout: 5s
retries: 5
grpcurl:
image: fullstorydev/grpcurl
stdin_open: true
tty: true
profiles:
- on-demand
volumes:
- ./etc/protos/echo.proto:/echo.proto
networks:
default:
driver: bridge