-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
134 lines (117 loc) · 2.59 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
---
version: '3.8'
networks:
bordercontrol_feeder:
name: bordercontrol_feeder
x-mlat-server-common: &x-mlat-server-common
build:
context: .
dockerfile: Dockerfile.mlat-server
image: mlat-server
restart: always
tty: true
networks:
- bordercontrol_feeder
environment:
- PW_INGEST_SINK=${PW_INGEST_SINK}
tmpfs:
- /run:exec,size=64M
- /var/log
services:
bordercontrol:
extends:
file: docker-compose-local.yml
service: bordercontrol
container_name: bordercontrol
build:
context: .
dockerfile: Dockerfile.bordercontrol
image: bordercontrol
tty: true
restart: always
environment:
- ATC_URL=${ATC_URL}
- ATC_USER=${ATC_USER}
- ATC_PASS=${ATC_PASS}
- BC_CERT_FILE=${BC_CERT_FILE}
- BC_KEY_FILE=${BC_KEY_FILE}
- PW_INGEST_SINK=${PW_INGEST_SINK}
- NATS=${NATS}
- BC_VERBOSE=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./feed-in:/opt/feed-in:ro
networks:
- bordercontrol_feeder
ports:
- 8080:8080 # Stats Web UI (http)
- 12345:12345 # BEAST
- 12346:12346 # MLAT
# feed-in image builder
feed-in-builder:
container_name: feed-in-builder
build:
context: ./feed-in
dockerfile: Dockerfile.feeder
image: feed-in
entrypoint: /bin/true
# MLAT: Australia ACT
mux-act:
container_name: mux-act
hostname: mux-act
<<: *x-mlat-server-common
# MLAT: Australia NSW
mux-nsw:
container_name: mux-nsw
hostname: mux-nsw
<<: *x-mlat-server-common
# MLAT: Australia NT
mux-nt:
container_name: mux-nt
hostname: mux-nt
<<: *x-mlat-server-common
# MLAT: QLD
mux-qld:
container_name: mux-qld
hostname: mux-qld
<<: *x-mlat-server-common
# MLAT: SA
mux-sa:
container_name: mux-sa
hostname: mux-sa
<<: *x-mlat-server-common
# MLAT: TAS
mux-tas:
container_name: mux-tas
hostname: mux-tas
<<: *x-mlat-server-common
# MLAT: VIC
mux-vic:
container_name: mux-vic
hostname: mux-vic
<<: *x-mlat-server-common
# MLAT: WA
mux-wa:
container_name: mux-wa
hostname: mux-wa
<<: *x-mlat-server-common
# MLAT: NZ
mux-nz:
container_name: mux-nz
hostname: mux-nz
<<: *x-mlat-server-common
# MLAT: EU
mux-eu:
container_name: mux-eu
hostname: mux-eu
<<: *x-mlat-server-common
# MLAT: USA
mux-us:
container_name: mux-us
hostname: mux-us
<<: *x-mlat-server-common
# MLAT: ASIA
mux-asia:
container_name: mux-asia
hostname: mux-asia
<<: *x-mlat-server-common