-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (42 loc) · 1022 Bytes
/
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
version: "3"
services:
bandswitch: &switch
restart: always
build:
context: .
dockerfile: ./compose/switch/Dockerfile
args:
- release=v0.2.1
- arch=amd64
- os=linux
depends_on:
- nats-server
links:
- nats-server:nats-server
command: remoteSwitch server nats --config=bandswitch.toml
10m:
<<: *switch
command: remoteSwitch server nats --config=sm10m.toml
15m:
<<: *switch
command: remoteSwitch server nats --config=sm15m.toml
20m:
<<: *switch
command: remoteSwitch server nats --config=sm20m.toml
40m:
<<: *switch
command: remoteSwitch server nats --config=sw40m.toml
80m:
<<: *switch
command: remoteSwitch server nats --config=sw80m.toml
4sq:
<<: *switch
command: remoteSwitch server nats --config=4sq.toml
web:
<<: *switch
command: remoteSwitch web -w 0.0.0.0 -k 4002 -u nats-server
ports:
- "4002:4002"
nats-server:
image: nats:2
restart: always