forked from mysteriumnetwork/node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.e2e-traversal.yml
904 lines (871 loc) · 25.6 KB
/
docker-compose.e2e-traversal.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
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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
version: '3.0'
services:
morqa:
image: mysteriumnetwork/quality-oracle:latest
command: >
--bind-addr=:8085
--prometheus=http://prometheus:9090
--metrics-addr=:8080
depends_on:
- prometheus
expose:
- 8085
- 8080
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.198
public1:
ipv4_address: 172.31.0.198
prometheus:
image: prom/prometheus:v2.10.0
volumes:
- ./e2e/prometheus:/prometheus
command:
- '--config.file=/prometheus/config.yml'
- '--storage.tsdb.path=data/'
expose:
- 9090
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.199
public1:
ipv4_address: 172.31.0.199
ipify:
image: owlab/ipify
expose:
- 3000
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.10
public1:
ipv4_address: 172.31.0.10
broker-real:
image: nats:1.0.4
expose:
- 4222
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.30
public1:
ipv4_address: 172.31.0.30
broker:
image: mysteriumnetwork/nats-proxy:1.0.1
command:
- '-target=broker-real:4222'
depends_on:
- broker-real
expose:
- 4222
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.31
public1:
ipv4_address: 172.31.0.31
db:
image: postgres:13-alpine
container_name: discovery_db
ports:
- 5432:5432
environment:
- POSTGRES_USER=discovery
- POSTGRES_DB=discovery
- POSTGRES_PASSWORD=discovery
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.201
public1:
ipv4_address: 172.31.0.201
discovery-service:
image: mysteriumnetwork/discovery:2.18.3
expose:
- 8081
environment:
- PORT=8081
- DB_DSN=postgresql://discovery:discovery@db:5432/discovery
- QUALITY_ORACLE_URL=http://morqa:8085
- BROKER_URL=broker
- UNIVERSE_JWT_SECRET=suchsecret
- REDIS_ADDRESS=redis:6379
- BADGER_ADDRESS=http://badger:1234
- QUALITY_CACHE_TTL=20m
- LOCATION_ADDRESS="badurl"
depends_on:
- db
- redis
- http-mock
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.214
public1:
ipv4_address: 172.31.0.214
discovery:
image: nginx:latest
expose:
- 8080
volumes:
- ./e2e/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- discovery-service
- discovery-pricer
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.215
public1:
ipv4_address: 172.31.0.215
discovery-pricer:
image: mysteriumnetwork/discovery-pricer:2.18.3
expose:
- 8091
environment:
- PORT=8091
- DB_DSN=postgresql://discovery:discovery@db:5432/discovery
- QUALITY_ORACLE_URL=http://morqa:8085
- BROKER_URL=broker
- REDIS_ADDRESS=redis:6379
- UNIVERSE_JWT_SECRET=suchsecret
- BADGER_ADDRESS=http://badger:1234
- QUALITY_CACHE_TTL=20m
- LOCATION_ADDRESS="badurl"
- SENTINEL_URL="https://sentinel.mysterium.network"
depends_on:
- db
- redis
- http-mock
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.200
public1:
ipv4_address: 172.31.0.200
# private blockchain
ganache:
image: trufflesuite/ganache:v7.0.3
expose:
- 8545
command: >
--chain.chainId 5 --chain.networkId 5 --mnemonic "amused glory pen avocado toilet dragon entry kitchen cliff retreat canyon danger"
dns: 172.30.0.254
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
networks:
public0:
ipv4_address: 172.30.0.202
public1:
ipv4_address: 172.31.0.202
ganache2:
image: trufflesuite/ganache:v7.0.3
expose:
- 8545
command: >
--chain.chainId 80001 --chain.networkId 80001 --mnemonic "amused glory pen avocado toilet dragon entry kitchen cliff retreat canyon danger"
dns: 172.30.0.254
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
networks:
public0:
ipv4_address: 172.30.0.209
public1:
ipv4_address: 172.31.0.209
trust:
image: mysteriumnetwork/trust-oracle:latest
command: >
-swaggerHost=trust
-fallbackTrustedIDs=0xc4cb9a91b8498776f6f8a0d5a2a23beec9b3cef3
dns: 172.30.0.254
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
networks:
public0:
ipv4_address: 172.30.0.207
public1:
ipv4_address: 172.31.0.207
http-mock:
image: mockserver/mockserver:mockserver-5.11.2
dns: 172.30.0.254
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
ports:
- 9999:1080
networks:
public0:
ipv4_address: 172.30.0.211
public1:
ipv4_address: 172.31.0.211
transactordatabase:
image: postgres:13-alpine
expose:
- 5432
environment:
- POSTGRES_USER=transactor
- POSTGRES_DB=transactor
- POSTGRES_PASSWORD=transactor
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.210
public1:
ipv4_address: 172.31.0.210
transactor-sidecar:
image: mysteriumnetwork/transactor-sidecar:3.0.10
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
depends_on:
- transactordatabase
- redis
- http-mock
command: >
/usr/bin/sidecar
-configPaths=/transactor/sidecar_config.yaml
volumes:
- ./e2e/transactor:/transactor
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.212
public1:
ipv4_address: 172.31.0.212
transactor:
image: mysteriumnetwork/transactor:3.0.10
environment:
PORT: 8888
expose:
- 8888
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
depends_on:
- ganache
- redis
- ganache2
- transactordatabase
- http-mock
- transactor-sidecar
command: >
-configPaths=/transactor/config.yaml
volumes:
- ./e2e/blockchain/keystore:/keystore
- ./e2e/transactor:/transactor
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.203
public1:
ipv4_address: 172.31.0.203
hermes:
image: mysteriumnetwork/hermes:2.3.17
environment:
LOG_LEVEL: trace
expose:
- 8889
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
depends_on:
- ganache
- redis
- mongodb
- ganache2
- transactor
- pilvytis-mock
command: >
-identityPassphrase ""
-Chain1Myst 0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
-Chain1RPCEndpoint http://ganache:8545
-Chain1ChainID 5
-transactorBaseUri "http://transactor:8888/api/v1/"
-Chain1chImplementation 0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
-Chain1Registry 0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
-operator 0x354bd098b4ef8c9e70b7f21be2d455df559705d7
-Chain1HermesAddress 0x599d43715DF3070f83355D9D90AE62c159E62A75
-Chain2Myst 0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
-Chain2RPCEndpoint ws://ganache2:8545
-Chain2ChainID 80001
-Chain2chImplementation 0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
-Chain2Registry 0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
-Chain2HermesAddress 0x599d43715DF3070f83355D9D90AE62c159E62A75
-MongoReplSet rs0
-keystoreDir /keystore
-bcDataRefreshInterval 1ns
-MongoUser hermes
-transactorBaseUri "http://transactor:8888/api/v1/"
-MongoPass hermes
-MongoHost "mongodb:27017"
-MongoDatabase hermes
-MongoReplSet ""
-redisAddress "redis:6379"
-bindAddr "0.0.0.0:8889"
-pilvytisBaseURL http://pilvytis-mock:8080
volumes:
- ./e2e/blockchain/keystore:/keystore
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.204
public1:
ipv4_address: 172.31.0.204
pilvytis-mock:
image: wiremock/wiremock:2.32.0
expose:
- 8080
volumes:
- ./e2e/pilvytis:/home/wiremock
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.213
public1:
ipv4_address: 172.31.0.213
redis:
image: bitnami/redis:6.2.6
container_name: 'hermes_redis'
expose:
- 6379
environment:
- ALLOW_EMPTY_PASSWORD=yes
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.206
public1:
ipv4_address: 172.31.0.206
mongodb:
image: 'mongo:4.2.3'
environment:
- MONGO_INITDB_ROOT_PASSWORD=root
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_DATABASE=admin
- MONGO_NON_ROOT_USERNAME=hermes
- MONGO_NON_ROOT_PASSWORD=hermes
- MONGO_REPLICA_SET_NAME=rs0
expose:
- 27017
- 27018
- 27019
volumes:
- ./e2e/mongo-init.e2e.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.205
public1:
ipv4_address: 172.31.0.205
command: ["mongod", "--replSet", "rs0"]
healthcheck:
test: 'test $$(echo "rs.initiate({_id: \"rs0\",version: 1,members: [{ _id: 0, host : \"mongodb:27017\" }]}).ok || rs.status().ok" | mongo -u root -p root --quiet) -eq 1'
interval: 5s
start_period: 5s
myst-consumer-hermes2:
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
build:
context: .
dockerfile: ./bin/docker/alpine-prebuilt/Dockerfile
depends_on:
- broker
- discovery
- ipify
- transactor
- hermes2
- myst-provider
- morqa
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
environment:
- DEFAULT_ROUTE=10.100.1.2
command: >
--discovery.ping=1s
--discovery.fetch=1s
--chains.1.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--chains.1.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.1.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.1.hermes=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.1.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--transactor.address=http://transactor:8888/api/v1
--ip-detector=http://ipify:3000/?format=json
--location.type=manual
--log-level=debug
--broker-address=broker
--tequilapi.address=0.0.0.0
--tequilapi.allowed-hostnames=.
--discovery.address=http://discovery:8080/api/v4
--chains.2.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--chains.2.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.2.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.2.hermes=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.2.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.2.chainID=80001
--chain-id=80001
--ether.client.rpcl2=ws://ganache2:8545
--ether.client.rpcl1=http://ganache:8545
--keystore.lightweight
--firewall.killSwitch.always
--quality.address=http://morqa:8085/api/v3
--stun-servers=""
--local-service-discovery=true
--payments.registry-transactor-poll.interval=1s
--observer.address=""
daemon
dns: 172.30.0.254
networks:
priv1:
ipv4_address: 10.100.1.105
hermes2:
image: mysteriumnetwork/hermes:3.3.15
sysctls:
- net.ipv4.conf.default.rp_filter=0
- net.ipv4.conf.all.rp_filter=0
- net.ipv4.conf.eth0.rp_filter=0
- net.ipv4.conf.eth1.rp_filter=0
environment:
LOG_LEVEL: trace
expose:
- 8889
depends_on:
- ganache
- ganache2
- redis
- transactor
command: >
-configPaths=/hermes/config.yaml
volumes:
- ./e2e/blockchain/keystore:/keystore
- ./e2e/hermes:/hermes
dns: 172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.208
public1:
ipv4_address: 172.31.0.208
myst-consumer-wireguard:
build:
context: .
dockerfile: ./bin/docker/alpine-prebuilt/Dockerfile
environment:
- DEFAULT_ROUTE=10.100.1.2
depends_on:
- forwarder
- broker
- discovery
- ipify
- transactor
- hermes
- morqa
- ganache
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
command: >
--discovery.ping=1s
--discovery.fetch=1s
--payments.bc.timeout=1s
--chains.1.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--ip-detector=http://ipify:3000/?format=json
--location.type=manual \
--log-level=debug
--broker-address=broker
--tequilapi.address=0.0.0.0
--tequilapi.allowed-hostnames=.
--discovery.address=http://discovery:8080/api/v4
--chains.2.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--chains.2.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.2.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.2.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.2.chainID=80001
--chain-id=80001
--ether.client.rpcl2=ws://ganache2:8545
--ether.client.rpcl1=http://ganache:8545
--keystore.lightweight
--chains.1.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.1.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.1.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--transactor.address=http://transactor:8888/api/v1
--quality.address=http://morqa:8085/api/v3
--firewall.killSwitch.always
--stun-servers=""
--local-service-discovery=true
--payments.registry-transactor-poll.interval=1s
--observer.address=""
daemon
dns: 172.30.0.254
networks:
priv1:
ipv4_address: 10.100.1.101
myst-consumer-openvpn:
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
environment:
- DEFAULT_ROUTE=10.100.1.2
build:
context: .
dockerfile: ./bin/docker/alpine-prebuilt/Dockerfile
depends_on:
- broker
- discovery
- ipify
- transactor
- hermes
- myst-provider
- morqa
- ganache
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
command: >
--discovery.ping=1s
--discovery.fetch=1s
--chains.1.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.1.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.1.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.1.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--transactor.address=http://transactor:8888/api/v1
--ip-detector=http://ipify:3000/?format=json
--location.type=manual
--log-level=debug
--broker-address=broker
--tequilapi.address=0.0.0.0
--tequilapi.allowed-hostnames=.
--discovery.address=http://discovery:8080/api/v4
--chains.2.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--chains.2.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.2.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.2.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.2.chainID=80001
--chain-id=80001
--ether.client.rpcl2=ws://ganache2:8545
--ether.client.rpcl1=http://ganache:8545
--keystore.lightweight
--firewall.killSwitch.always
--quality.address=http://morqa:8085/api/v3
--stun-servers=""
--local-service-discovery=true
--payments.registry-transactor-poll.interval=1s
--observer.address=""
daemon
dns: 172.30.0.254
networks:
priv1:
ipv4_address: 10.100.1.103
myst-consumer-noop:
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
environment:
- DEFAULT_ROUTE=10.100.1.2
build:
context: .
dockerfile: ./bin/docker/alpine-prebuilt/Dockerfile
volumes:
- ./e2e/myst-consumer/keystore/remember.json:/var/lib/mysterium-node/keystore/remember.json
- ./e2e/myst-consumer/keystore/UTC--2020-07-31T02-37-15.148642000Z--c4cb9a91b8498776f6f8a0d5a2a23beec9b3cef3:/var/lib/mysterium-node/keystore/UTC--2020-07-31T02-37-15.148642000Z--c4cb9a91b8498776f6f8a0d5a2a23beec9b3cef3
depends_on:
- broker
- discovery
- ipify
- transactor
- hermes
- myst-provider
- morqa
- ganache
cap_add:
- NET_ADMIN
command: >
--discovery.ping=1s
--discovery.fetch=1s
--discovery.type api --discovery.type broker
--chains.1.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--chains.1.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.1.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--transactor.address=http://transactor:8888/api/v1
--chains.1.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--ip-detector=http://ipify:3000/?format=json
--location.type=manual
--log-level=debug
--chains.2.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--chains.2.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.2.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.2.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.2.chainID=80001
--chain-id=80001
--broker-address=broker
--tequilapi.address=0.0.0.0
--tequilapi.allowed-hostnames=.
--ether.client.rpcl2=ws://ganache2:8545
--ether.client.rpcl1=http://ganache:8545
--discovery.address=http://discovery:8080/api/v4
--keystore.lightweight
--firewall.killSwitch.always
--quality.address=http://morqa:8085/api/v3
--stun-servers=""
--local-service-discovery=true
--payments.registry-transactor-poll.interval=1s
--observer.address=""
daemon
dns: 172.30.0.254
networks:
priv1:
ipv4_address: 10.100.1.104
myst-provider:
build:
context: .
dockerfile: ./bin/docker/alpine-prebuilt/Dockerfile
environment:
- DEFAULT_ROUTE=10.100.0.2
depends_on:
- forwarder2
- broker
- discovery
- ipify
- transactor
- hermes
- hermes2
- morqa
- trust
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
expose:
- 1194
- 4050
volumes:
- ./e2e/myst-provider/keystore:/var/lib/mysterium-node/keystore
command: >
--discovery.ping=1s
--discovery.fetch=1s
--chains.1.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--ip-detector=http://ipify:3000/?format=json
--location.type=manual
--location.country=e2e-land
--broker-address=broker
--tequilapi.address=0.0.0.0
--tequilapi.allowed-hostnames=.
--firewall.protected.networks=""
--chains.1.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.1.chainID=5
--chains.1.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.1.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.1.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.2.myst=0x4D1d104AbD4F4351a0c51bE1e9CA0750BbCa1665
--chains.2.registry=0x241F6e1d0bB17f45767DC60A6Bd3D21Cdb543a0c
--chains.2.channelImplementation=0xAA9C4E723609Cb913430143fbc86D3CBe7ADCa21
--chains.2.hermes=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x676b9a084aC11CEeF680AF6FFbE99b24106F47e7
--chains.2.knownHermeses=0x66D0a6DD6c1120B0e11513A4bA439f6eaed0E0Ed
--chains.2.chainID=80001
--chain-id=80001
--ether.client.rpcl2=ws://ganache2:8545
--ether.client.rpcl1=http://ganache:8545
--firewall.protected.networks=""
--discovery.address=http://discovery:8080/api/v4
--transactor.address=http://transactor:8888/api/v1
--keystore.lightweight
--log-level=debug
--quality.address=http://morqa:8085/api/v3
--payments.provider.invoice-frequency=1s
--access-policy.address=http://trust:8080/api/v1/access-policies/
--access-policy.fetch=1s
--stun-servers=""
--local-service-discovery=true
--payments.registry-transactor-poll.interval=1s
--payments.hermes.settle.check-interval=1s
--observer.address=""
service
--agreed-terms-and-conditions
--identity=0xd1a23227bd5ad77f36ba62badcb78a410a1db6c5
--identity.passphrase=localprovider
--active-services=openvpn,noop,wireguard
dns: 172.31.0.254
networks:
priv0:
ipv4_address: 10.100.0.102
go-runner:
build:
context: .
dockerfile: ./e2e/gorunner/Dockerfile.precompiled
volumes:
- ./e2e/blockchain/keystore:/node/keystore
working_dir: /node
dns: 172.30.0.254
cap_add:
- NET_ADMIN
networks:
public0:
ipv4_address: 172.30.0.222
public1:
ipv4_address: 172.31.0.222
priv0:
ipv4_address: 10.100.0.222
priv1:
ipv4_address: 10.100.1.222
router:
build:
context: .
dockerfile: ./e2e/forwarder/Dockerfile
cap_add:
- NET_ADMIN
environment:
- EXT_NAT=172.30.0.1
networks:
public0:
ipv4_address: 172.30.0.254
public1:
ipv4_address: 172.31.0.254
forwarder:
build:
context: .
dockerfile: ./e2e/forwarder/Dockerfile
cap_add:
- NET_ADMIN
depends_on:
- router
environment:
- GATEWAY=172.30.0.254
networks:
public0:
ipv4_address: 172.30.0.2
priv1:
ipv4_address: 10.100.1.2
forwarder2:
build:
context: .
dockerfile: ./e2e/forwarder/Dockerfile
cap_add:
- NET_ADMIN
depends_on:
- router
environment:
- GATEWAY=172.31.0.254
dns: 172.31.0.254
networks:
public1:
ipv4_address: 172.31.0.2
priv0:
ipv4_address: 10.100.0.2
networks:
public0:
driver: "bridge"
ipam:
driver: default
config:
- subnet: 172.30.0.0/24
public1:
driver: "bridge"
ipam:
config:
- subnet: 172.31.0.0/24
priv0:
driver: "bridge"
ipam:
config:
- subnet: 10.100.0.0/24
priv1:
driver: "bridge"
ipam:
config:
- subnet: 10.100.1.0/24