~arx10/furemcape unlisted

ref: 124b913abcba550ca78f4c5943a9f7d933b18ddb furemcape/docker-compose-dev.yml -rw-r--r-- 5.0 KiB
124b913aJustin Ludwig Add 5 more actions to opensshd parser: 11 months ago
                                                                                
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
version: '3'

services:

  # unit cluster

  shared_unit:
    build:
      context: .
      dockerfile: shared/dockerfile-dev
    env_file:
    - shared/.env
    image: furemcape_shared_unit
    volumes:
    - ./:/usr/local/src/furemcape

  hitdb_unit:
    build:
      context: ./hitdb
      dockerfile: dockerfile-db
    env_file:
    - hitdb/.env
    image: furemcape_hitdb_unit
    ports:
    - 127.0.0.1:5771:5432
    restart: always
    volumes:
    - hitdb_unit:/var/lib/postgresql/data

  hitorm_unit:
    build:
      context: .
      dockerfile: hitdb/dockerfile-dev
    environment:
      FUREMCAPE_HITDB_URL: "postgresext://hitdb:hitdb@hitdb_unit:5432/hitdb"
    env_file:
    - hitdb/.env
    image: furemcape_hitorm_unit
    links:
    - shared_unit
    - hitdb_unit
    volumes:
    - ./:/usr/local/src/furemcape

  issuedb_unit:
    build:
      context: ./issuedb
      dockerfile: dockerfile-db
    env_file:
    - issuedb/.env
    image: furemcape_issuedb_unit
    ports:
    - 127.0.0.1:5772:5432
    restart: always
    volumes:
    - issuedb_unit:/var/lib/postgresql/data

  issueorm_unit:
    build:
      context: .
      dockerfile: issuedb/dockerfile-dev
    environment:
      FUREMCAPE_ISSUEDB_URL: "postgresext://issuedb:issuedb@issuedb_unit:5432/issuedb"
    env_file:
    - issuedb/.env
    image: furemcape_issueorm_unit
    links:
    - shared_unit
    - issuedb_unit
    volumes:
    - ./:/usr/local/src/furemcape

  analyzer_unit:
    build:
      context: .
      dockerfile: analyzer/dockerfile-dev
    env_file:
    - analyzer/.env
    image: furemcape_analyzer_unit
    links:
    - shared_unit
    volumes:
    - ./:/usr/local/src/furemcape

  transformer_unit:
    build:
      context: .
      dockerfile: transformer/dockerfile-dev
    env_file:
    - transformer/.env
    image: furemcape_transformer_unit
    links:
    - shared_unit
    volumes:
    - ./:/usr/local/src/furemcape

  feeder_unit:
    build:
      context: .
      dockerfile: feeder/dockerfile-dev
    env_file:
    - feeder/.env
    image: furemcape_feeder_unit
    links:
    - shared_unit
    ports:
    - 127.0.0.1:9012:9012
    volumes:
    - ./:/usr/local/src/furemcape

  reporter_unit:
    build:
      context: .
      dockerfile: reporter/dockerfile-dev
    env_file:
    - reporter/.env
    image: furemcape_reporter_unit
    links:
    - shared_unit
    volumes:
    - ./:/usr/local/src/furemcape

  responder_unit:
    build:
      context: .
      dockerfile: responder/dockerfile-dev
    env_file:
    - responder/.env
    image: furemcape_responder_unit
    links:
    - shared_unit
    volumes:
    - ./:/usr/local/src/furemcape

  administrator_unit:
    build:
      context: .
      dockerfile: administrator/dockerfile-dev
    env_file:
    - administrator/.env
    image: furemcape_administrator_unit
    links:
    - shared_unit
    volumes:
    - ./:/usr/local/src/furemcape

  # build cluster

  docs:
    build:
      context: .
      dockerfile: docs/dockerfile-dev
    env_file:
    - docs/.env
    image: furemcape_docs
    links:
    - shared_unit
    ports:
    - 127.0.0.1:8778:8000
    volumes:
    - ./:/usr/local/src/furemcape

  # e2e cluster

  hitdb_e2e:
    build:
      context: ./hitdb
      dockerfile: dockerfile-db
    env_file:
    - e2e/.env
    image: furemcape_hitdb_e2e
    ports:
    - 127.0.0.1:5773:5432
    restart: always
    volumes:
    - hitdb_e2e:/var/lib/postgresql/data

  issuedb_e2e:
    build:
      context: ./issuedb
      dockerfile: dockerfile-db
    env_file:
    - e2e/.env
    image: furemcape_issuedb_e2e
    ports:
    - 127.0.0.1:5774:5432
    restart: always
    volumes:
    - issuedb_e2e:/var/lib/postgresql/data

  e2e:
    build:
      context: .
      dockerfile: e2e/dockerfile-dev
    environment:
      FUREMCAPE_HITDB_URL: "postgresext://hitdb:hitdb@hitdb_e2e:5432/hitdb"
      FUREMCAPE_ISSUEDB_URL: "postgresext://issuedb:issuedb@issuedb_e2e:5432/issuedb"
    env_file:
    - e2e/.env
    image: furemcape_e2e
    links:
    - shared_unit
    - hitdb_e2e
    - issuedb_e2e
    volumes:
    - ./:/usr/local/src/furemcape

  # dev cluster

  hitdb_dev:
    build:
      context: ./hitdb
      dockerfile: dockerfile-db
    env_file:
    - .env
    image: furemcape_hitdb_dev
    ports:
    - 127.0.0.1:5775:5432
    restart: always
    volumes:
    - hitdb_dev:/var/lib/postgresql/data

  issuedb_dev:
    build:
      context: ./issuedb
      dockerfile: dockerfile-db
    env_file:
    - .env
    image: furemcape_issuedb_dev
    ports:
    - 127.0.0.1:5776:5432
    restart: always
    volumes:
    - issuedb_dev:/var/lib/postgresql/data

  dev:
    build:
      context: .
      dockerfile: dockerfile-dev
    environment:
      FUREMCAPE_HITDB_URL: "postgresext://hitdb:hitdb@hitdb_dev:5432/hitdb"
      FUREMCAPE_ISSUEDB_URL: "postgresext://issuedb:issuedb@issuedb_dev:5432/issuedb"
    env_file:
    - .env
    image: furemcape_dev
    links:
    - e2e
    - hitdb_dev
    - issuedb_dev
    volumes:
    - ./:/usr/local/src/furemcape

volumes:
  hitdb_unit:
  issuedb_unit:
  hitdb_e2e:
  issuedb_e2e:
  hitdb_dev:
  issuedb_dev: