-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
128 lines (119 loc) · 3.76 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
version: '3'
services:
frontend:
build:
context: ./frontend
args:
backend_url: https://explorer.raiden.network/json
poll_interval: 10000
etherscan_base_url: https://etherscan.io/address/
network_name: Mainnet
matomo_tracker_url: https://analytics.raiden.network/matomo.php
matomo_site_id: 3
matomo_script_url: https://analytics.raiden.network/matomo.js
restart: always
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:explorer.raiden.network"
backend:
build:
context: ./backend
restart: always
environment:
- EXPLORER_ETH_RPC=http://1.geth.mainnet.ethnodes.brainbot.com:8545
- EXPLORER_CONFIRMATIONS=5
- EXPLORER_CONTRACTS_VERSION=0.37.0
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:explorer.raiden.network; Path: /json"
frontend-arbitrum-one:
build:
context: ./frontend
args:
backend_url: https://arbitrum-one.explorer.raiden.network/json
poll_interval: 10000
etherscan_base_url: https://arbiscan.io/
network_name: Arbitrum-One
matomo_tracker_url: https://analytics.raiden.network/matomo.php
matomo_site_id: 3
matomo_script_url: https://analytics.raiden.network/matomo.js
restart: always
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:arbitrum-one.explorer.raiden.network"
backend-arbitrum-one:
build:
context: ./backend
restart: always
environment:
- EXPLORER_ETH_RPC=https://arb1.arbitrum.io/rpc
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:arbitrum-one.explorer.raiden.network; Path: /json"
frontend-goerli:
build:
context: ./frontend
args:
backend_url: https://goerli.explorer.raiden.network/json
poll_interval: 10000
etherscan_base_url: https://goerli.etherscan.io/address/
network_name: Goerli
matomo_tracker_url: https://analytics.raiden.network/matomo.php
matomo_site_id: 3
matomo_script_url: https://analytics.raiden.network/matomo.js
restart: always
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:goerli.explorer.raiden.network"
backend-goerli:
build:
context: ./backend
restart: always
environment:
- EXPLORER_ETH_RPC=http://geth.goerli.ethnodes.brainbot.com:8545
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:goerli.explorer.raiden.network; Path: /json"
frontend-rinkarby:
build:
context: ./frontend
args:
backend_url: https://rinkarby.explorer.raiden.network/json
poll_interval: 10000
etherscan_base_url: https://testnet.arbiscan.io/
network_name: Rinkarby
matomo_tracker_url: https://analytics.raiden.network/matomo.php
matomo_site_id: 3
matomo_script_url: https://analytics.raiden.network/matomo.js
restart: always
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:rinkarby.explorer.raiden.network"
backend-rinkarby:
build:
context: ./backend
restart: always
environment:
- EXPLORER_ETH_RPC=https://rinkeby.arbitrum.io/rpc
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:rinkarby.explorer.raiden.network; Path: /json"
traefik:
image: traefik:1.7
restart: always
ports:
- 80:80
- 443:443
volumes:
- ./config/traefik:/etc/traefik
- ./data/traefik:/data
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- backend
- backend-arbitrum-one
- backend-goerli
- backend-rinkarby
- frontend
- frontend-arbitrum-one
- frontend-goerli
- frontend-rinkarby