-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
307 lines (288 loc) · 10.2 KB
/
docker-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
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
services:
scheduler:
restart: unless-stopped
image: mcuadros/ofelia:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
command: daemon --docker
depends_on:
- honeygain
- earnapp-prohibited
- bitping
- packetstream
- pawns
- traffmonetizer
- repocket
- proxyrack
- earnfm
honeygain:
restart: unless-stopped
cpus: "0.05"
mem_reservation: "25M" # Soft memory reservation
mem_limit: "50M" # Hard memory limit
networks:
- honeygain
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).0
image: honeygain/honeygain
command:
- "-tou-accept"
- "-email"
- "$HONEYGAIN_EMAIL"
- "-pass"
- "$HONEYGAIN_PASSWORD"
- "-device"
- "${RANDOM_DEVICE}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.honeygain-restart.schedule: "@every 3h"
ofelia.job-exec.honeygain-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
earnapp-prohibited:
restart: unless-stopped
cpus: "0.05"
mem_reservation: "50M" # Soft memory reservation
mem_limit: "100M" # Hard memory limit
networks:
- earnapp-prohibited
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: earnapp-prohibited:local
build: ./earnapp-prohibited
environment:
# Generated with: echo sdk-node-$(cat /dev/urandom | LC_ALL=C tr -dc 'a-f0-9' | dd bs=1 count=32 2>/dev/null)
# Must register at https://earnapp.com/r/${EARNAPP_ID}
EARNAPP_ID: "${EARNAPP_ID}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.earnapp-restart.schedule: "@every 3h"
ofelia.job-exec.earnapp-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
bitping:
restart: unless-stopped
cpus: "0.05"
mem_reservation: "25M" # Soft memory reservation
mem_limit: "50M" # Hard memory limit
networks:
- bitping
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: bitping/bitpingd
volumes:
- bitping-node-data:/root/.bitpingd
environment:
BITPING_EMAIL: "${BITPING_EMAIL}"
BITPING_PASSWORD: "${BITPING_PASSWORD}"
BITPING_MFA: "${BITPING_MFA}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.bitping-restart.schedule: "@every 3h"
ofelia.job-exec.bitping-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
packetstream:
restart: unless-stopped
# cpus: "0.05"
mem_reservation: "50M" # Soft memory reservation
mem_limit: "100M" # Hard memory limit
networks:
- packetstream
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: packetstream/psclient
environment:
CID: "${PACKETSTREAM_CID}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.packetstream-restart.schedule: "@every 3h"
ofelia.job-exec.packetstream-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
pawns:
restart: unless-stopped
cpus: "0.05"
mem_reservation: "25M" # Soft memory reservation
mem_limit: "50M" # Hard memory limit
networks:
- pawns
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: iproyal/pawns-cli
command:
- "-accept-tos"
- "-email"
- "${PAWNS_EMAIL}"
- "-password"
- "${PAWNS_PASSWORD}"
- "-device-name"
- "${RANDOM_DEVICE}"
- "-device-id"
- "${RANDOM_DEVICE}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.pawns-restart.schedule: "@every 3h"
ofelia.job-exec.pawns-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
traffmonetizer:
restart: unless-stopped
cpus: "0.15"
mem_reservation: "25M" # Soft memory reservation
mem_limit: "50M" # Hard memory limit
networks:
- traffmonetizer
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: traffmonetizer/cli_v2:arm64v8
command:
- start
- accept
- --token
- "${TRAFFMONETIZER_TOKEN}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.traffmonetizer-restart.schedule: "@every 3h"
ofelia.job-exec.traffmonetizer-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
repocket:
restart: unless-stopped
cpus: "0.05"
mem_reservation: "25M" # Soft memory reservation
mem_limit: "50M" # Hard memory limit
networks:
- repocket
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: repocket/repocket
environment:
RP_EMAIL: "${REPOCKET_EMAIL}"
RP_API_KEY: "${REPOCKET_API_KEY}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.repocket-restart.schedule: "@every 3h"
ofelia.job-exec.repocket-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
proxyrack:
restart: unless-stopped
cpus: "0.05"
mem_reservation: "75M" # Soft memory reservation
mem_limit: "100M" # Hard memory limit
networks:
- proxyrack
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: proxyrack/pop
environment:
UUID: "${PROXYRACK_UUID}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.proxyrack-restart.schedule: "@every 3h"
ofelia.job-exec.proxyrack-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
earnfm:
restart: unless-stopped
cpus: "0.05"
mem_reservation: "25M" # Soft memory reservation
mem_limit: "50M" # Hard memory limit
networks:
- earnfm
security_opt:
- no-new-privileges
- apparmor:docker-default
cap_drop:
- ALL # Drop all capabilities
cap_add:
- CAP_MKNOD # Allows the creation of special files using mknod(), such as device files.
- CAP_CHOWN # Allows changing the ownership of files (i.e., modifying file owner and group).
- CAP_KILL # Allows a process to send signals to any process (including processes owned by different users).
image: earnfm/earnfm-client:latest
environment:
EARNFM_TOKEN: "${EARNFM_API_KEY}"
labels:
ofelia.enabled: "true"
ofelia.job-exec.earnfm-restart.schedule: "@every 3h"
ofelia.job-exec.earnfm-restart.command: "/bin/sh -c 'kill -s TERM 1 && sleep 10 && kill -s KILL 1'"
volumes:
bitping-node-data:
networks:
honeygain:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
earnapp-prohibited:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
bitping:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
packetstream:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
pawns:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
traffmonetizer:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
repocket:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
proxyrack:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"
earnfm:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "false"