-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
64 lines (57 loc) · 1.25 KB
/
docker-compose.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: "3.5"
services:
nats:
image: nats
ports:
- "4222:4222"
- "8080:8080"
volumes:
- ./test/config:/config
command: "-V -D -c /config/websocket.cfg"
nats-jwt:
image: nats
ports:
- "4223:4222"
- "8083:8080"
volumes:
- ./test/config:/config
command: "-V -D -c /config/jwt.cfg"
nats-jwt2:
image: nats
ports:
- "4227:4222"
volumes:
- ./test/config:/config
command: "-V -D -c /config/jwt2.cfg"
nats-token:
image: nats
ports:
- "4224:4222"
- "8084:8080"
volumes:
- ./test/config:/config
command: "-V -D -c /config/websocket.cfg --auth mytoken"
nats-user:
image: nats
ports:
- "4225:4222"
- "8085:8080"
volumes:
- ./test/config:/config
command: "-V -D -c /config/websocket.cfg --user foo --pass bar"
nats-nkey:
image: nats
ports:
- "4226:4222"
- "8086:8080"
volumes:
- ./test/config:/config
command: "-V -D -c /config/nkey.cfg"
nats-tls:
image: nats
ports:
- "4443:4222"
- "8443:443"
volumes:
- ./test/config:/config
command: "-V -D -c /config/wss.cfg --tls --tlscert=/config/server-cert.pem --tlskey=/config/server-key.pem"