-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
61 lines (58 loc) · 1.25 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
49
50
51
52
53
54
55
56
57
58
59
60
61
services:
hub:
hostname: hub
build:
context: .
dockerfile: ./dockerfile.hub
ports:
- "3000:3000"
restart: unless-stopped
environment:
- TZ=America/Sao_Paulo
depends_on:
- nats
- resgate
rusty_falcon_1:
hostname: rusty_falcon_1
build:
context: .
dockerfile: ./dockerfile.node
args:
NODE: rusty_falcon
ports:
- "8080:8080"
restart: unless-stopped
environment:
- TZ=America/Sao_Paulo
depends_on:
- nats
- resgate
nats:
hostname: nats
image: docker.io/nats
restart: unless-stopped
ports:
- "1880:1880"
- "4222:4222"
- "8222:8222"
environment:
- TZ=America/Sao_Paulo
volumes:
- ./etc/container/volumes/nats/data:/data
- ./etc/container/volumes/nats/nats-server.conf:/etc/nats/nats-server.conf
command:
- "--js"
- "--sd=/data"
- "--config=/etc/nats/nats-server.conf"
- "--debug"
resgate:
hostname: resgate
image: docker.io/resgateio/resgate
restart: unless-stopped
ports:
- "16800:8080"
environment:
- TZ=America/Sao_Paulo
command: "--nats nats://nats:4222"
depends_on:
- nats