2022-05-21 23:40:22 +03:00
|
|
|
---
|
2022-07-11 22:16:18 +03:00
|
|
|
# production config
|
2022-05-21 23:40:22 +03:00
|
|
|
version: "3.4"
|
|
|
|
|
|
|
|
services:
|
|
|
|
redis:
|
2022-08-16 08:00:29 +03:00
|
|
|
extends:
|
|
|
|
file: docker-compose.common.yml
|
|
|
|
service: volatile_redis
|
2022-05-21 23:40:22 +03:00
|
|
|
|
2022-08-06 08:38:19 +03:00
|
|
|
db:
|
|
|
|
image: mysql
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: web3_proxy
|
2022-10-13 02:30:50 +03:00
|
|
|
MYSQL_DATABASE: web3_proxy
|
2022-08-06 08:38:19 +03:00
|
|
|
ports:
|
2022-09-28 19:34:17 +03:00
|
|
|
- 127.0.0.1:3307:3306
|
2022-08-06 08:38:19 +03:00
|
|
|
volumes:
|
|
|
|
- ./data/prod_mysql:/var/lib/mysql
|
|
|
|
|
2023-03-01 23:05:02 +03:00
|
|
|
# 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:
|
2023-06-12 22:15:07 +03:00
|
|
|
- mode: host
|
|
|
|
protocol: tcp
|
|
|
|
published: 8086
|
|
|
|
target: 8086
|
2023-03-01 23:05:02 +03:00
|
|
|
volumes:
|
|
|
|
- ./data/influxdb/data:/var/lib/influxdb2
|
|
|
|
- ./data/influxdb/config:/etc/influxdb2
|
|
|
|
|
2022-08-06 08:38:19 +03:00
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
ports:
|
2022-09-09 01:24:27 +03:00
|
|
|
- mode: host
|
|
|
|
protocol: tcp
|
2022-09-28 19:37:54 +03:00
|
|
|
published: 8307
|
2022-09-09 01:24:27 +03:00
|
|
|
target: 8080
|
2022-08-06 08:38:19 +03:00
|
|
|
environment:
|
|
|
|
ADMINER_DEFAULT_SERVER: db
|
2022-07-26 03:38:00 +03:00
|
|
|
|
2022-10-13 02:30:50 +03:00
|
|
|
arbitrum:
|
|
|
|
extends:
|
|
|
|
file: docker-compose.common.yml
|
|
|
|
service: web3-proxy
|
2022-09-27 03:35:33 +03:00
|
|
|
volumes:
|
2022-10-13 02:30:50 +03:00
|
|
|
- ./config/production-arbitrum.toml:/config.toml
|
|
|
|
ports:
|
|
|
|
- mode: host
|
|
|
|
protocol: tcp
|
|
|
|
published: 7700
|
|
|
|
target: 8544
|
2022-05-21 23:40:22 +03:00
|
|
|
|
2022-08-10 07:27:27 +03:00
|
|
|
# avalanche-c:
|
|
|
|
# extends:
|
|
|
|
# file: docker-compose.common.yml
|
2022-09-28 19:34:17 +03:00
|
|
|
# service: web3-proxy
|
2022-08-10 07:27:27 +03:00
|
|
|
# volumes:
|
|
|
|
# - ./config/production-avalanche-c.toml:/config.toml
|
|
|
|
# ports:
|
2022-09-09 01:24:27 +03:00
|
|
|
# - mode: host
|
|
|
|
# protocol: tcp
|
2022-09-28 19:34:17 +03:00
|
|
|
# published: 7701
|
2022-09-09 01:24:27 +03:00
|
|
|
# target: 8544
|
2022-05-21 23:40:22 +03:00
|
|
|
|
2022-11-05 09:14:47 +03:00
|
|
|
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
|
2022-05-21 23:40:22 +03:00
|
|
|
|
|
|
|
eth:
|
|
|
|
extends:
|
|
|
|
file: docker-compose.common.yml
|
2022-09-28 19:34:17 +03:00
|
|
|
service: web3-proxy
|
2022-05-21 23:40:22 +03:00
|
|
|
volumes:
|
|
|
|
- ./config/production-eth.toml:/config.toml
|
2022-11-22 23:21:50 +03:00
|
|
|
- ./data/scratch:/scratch
|
2023-06-12 22:15:07 +03:00
|
|
|
- /etc/ssl/certs/:/etc/ssl/certs/:ro
|
|
|
|
- /usr/local/share/ca-certificates/:/usr/local/share/ca-certificates/:ro
|
2022-05-21 23:40:22 +03:00
|
|
|
ports:
|
2022-09-09 01:24:27 +03:00
|
|
|
- mode: host
|
|
|
|
protocol: tcp
|
2022-09-28 19:34:17 +03:00
|
|
|
published: 7703
|
2022-09-09 01:24:27 +03:00
|
|
|
target: 8544
|
2022-10-13 02:30:50 +03:00
|
|
|
|
2022-10-21 22:49:59 +03:00
|
|
|
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
|
2022-05-21 23:40:22 +03:00
|
|
|
|
2022-10-13 02:30:50 +03:00
|
|
|
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
|
2022-05-21 23:40:22 +03:00
|
|
|
|
2022-10-13 02:30:50 +03:00
|
|
|
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
|
2022-05-21 23:40:22 +03:00
|
|
|
|
2022-10-13 02:30:50 +03:00
|
|
|
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
|
2022-10-21 22:49:59 +03:00
|
|
|
|
|
|
|
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
|