-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.prod.yml
157 lines (144 loc) · 3.34 KB
/
docker-compose.prod.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
---
# production config
version: "3.4"
services:
redis:
extends:
file: docker-compose.common.yml
service: volatile_redis
db:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: web3_proxy
MYSQL_DATABASE: web3_proxy
ports:
- 127.0.0.1:3307:3306
volumes:
- ./data/prod_mysql:/var/lib/mysql
# influxdb for stats
influxdb:
image: influxdb:2.6.1-alpine
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: web3_proxy
DOCKER_INFLUXDB_INIT_PASSWORD: web3_proxy
DOCKER_INFLUXDB_INIT_ORG: ski_llamanodes
DOCKER_INFLUXDB_INIT_BUCKET: web3_proxy
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: web3_proxy_auth_token
ports:
- mode: host
protocol: tcp
published: 8086
target: 8086
volumes:
- ./data/influxdb/data:/var/lib/influxdb2
- ./data/influxdb/config:/etc/influxdb2
adminer:
image: adminer
ports:
- mode: host
protocol: tcp
published: 8307
target: 8080
environment:
ADMINER_DEFAULT_SERVER: db
arbitrum:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-arbitrum.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7700
target: 8544
# avalanche-c:
# extends:
# file: docker-compose.common.yml
# service: web3-proxy
# volumes:
# - ./config/production-avalanche-c.toml:/config.toml
# ports:
# - mode: host
# protocol: tcp
# published: 7701
# target: 8544
bsc:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-bsc.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7702
target: 8544
eth:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-eth.toml:/config.toml
- ./data/scratch:/scratch
ports:
- mode: host
protocol: tcp
published: 7703
target: 8544
fantom:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-fantom.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7704
target: 8544
gnosis:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-gnosis.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7705
target: 8544
goerli:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-goerli.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7706
target: 8544
optimism:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-optimism.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7707
target: 8544
polygon:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./config/production-polygon.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7708
target: 8544