-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathcompose.yaml
48 lines (45 loc) · 1.07 KB
/
compose.yaml
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
name: ${NAMESPACE:-zilla-sse-proxy-jwt}
services:
zilla:
image: ghcr.io/aklivity/zilla:${ZILLA_VERSION:-latest}
restart: unless-stopped
hostname: zilla.examples.dev
ports:
- 7143:7143
healthcheck:
interval: 5s
timeout: 3s
retries: 5
test: ["CMD", "bash", "-c", "echo -n '' > /dev/tcp/127.0.0.1/7143"]
environment:
KEYSTORE_PASSWORD: generated
ZILLA_INCUBATOR_ENABLED: "true"
volumes:
- ./etc:/etc/zilla
- ./www:/var/www/
command: start -v -e
sse-server:
image: ghcr.io/aklivity/extras-sse-server:sha-42ad67e
restart: unless-stopped
ports:
- 8001:8001
- 7001:7001
stdin_open: true
tty: true
healthcheck:
interval: 5s
timeout: 3s
retries: 5
test: netstat -an | grep 8001 > /dev/null; if [ 0 != $? ]; then exit 1; fi;
command: -v -p 8001 -i 7001
jwt-cli:
image: bitnami/jwt-cli
stdin_open: true
tty: true
profiles:
- on-demand
volumes:
- ./private.pem:/private.pem
networks:
default:
driver: bridge