generated from Allan-Nava/go-wire-fuego-scafffold
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
31 lines (31 loc) · 708 Bytes
/
compose.yml
File metadata and controls
31 lines (31 loc) · 708 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
services:
nats-check:
build: .
environment:
- NATS_SERVERS="nats://local:42222"
- NATS_REPLICA_SIZE="3"
- NATS_DEFAULT_CLUSTER="default"
- NATS_DEFAULT_STREAM="test"
networks: ["nats"]
#
nats-jetstream-check:
build: .
environment:
- NATS_SERVERS="nats://local:42222"
- NATS_REPLICA_SIZE="3"
- NATS_DEFAULT_CLUSTER="defaukt"
- NATS_DEFAULT_STREAM="test"
networks: ["nats"]
#
nats-docker:nats:
image: nats
ports:
- "8222:8222"
- "4222:4222"
command: "--server_name NATS --cluster_name JSC --cluster nats://0.0.0.0:6222 --http_port 8222 -p 4222"
networks: ["nats"]
#
networks:
nats:
name: nats
#