139 lines
2.8 KiB
YAML
139 lines
2.8 KiB
YAML
---
|
|
# 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:3306:3306
|
|
volumes:
|
|
- ./data/prod_mysql:/var/lib/mysql
|
|
|
|
adminer:
|
|
image: adminer
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 8306
|
|
target: 8080
|
|
environment:
|
|
ADMINER_DEFAULT_SERVER: db
|
|
|
|
arbitrum:
|
|
extends:
|
|
file: docker-compose.common.yml
|
|
service: base
|
|
volumes:
|
|
- ./config/production-arbitrum.toml:/config.toml
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 7500
|
|
target: 8544
|
|
|
|
# avalanche-c:
|
|
# extends:
|
|
# file: docker-compose.common.yml
|
|
# service: base
|
|
# volumes:
|
|
# - ./config/production-avalanche-c.toml:/config.toml
|
|
# ports:
|
|
# - mode: host
|
|
# protocol: tcp
|
|
# published: 7501
|
|
# target: 8544
|
|
|
|
bsc:
|
|
extends:
|
|
file: docker-compose.common.yml
|
|
service: base
|
|
volumes:
|
|
- ./config/production-bsc.toml:/config.toml
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 7502
|
|
target: 8544
|
|
|
|
eth:
|
|
extends:
|
|
file: docker-compose.common.yml
|
|
service: base
|
|
command: --config /config.toml --workers 72
|
|
volumes:
|
|
- ./config/production-eth.toml:/config.toml
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 7503
|
|
target: 8544
|
|
|
|
fantom:
|
|
extends:
|
|
file: docker-compose.common.yml
|
|
service: base
|
|
volumes:
|
|
- ./config/production-fantom.toml:/config.toml
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 7504
|
|
target: 8544
|
|
|
|
gnosis:
|
|
extends:
|
|
file: docker-compose.common.yml
|
|
service: base
|
|
volumes:
|
|
- ./config/production-gnosis.toml:/config.toml
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 7505
|
|
target: 8544
|
|
|
|
# goerli:
|
|
# extends:
|
|
# file: docker-compose.common.yml
|
|
# service: base
|
|
# volumes:
|
|
# - ./config/production-goerli.toml:/config.toml
|
|
# ports:
|
|
# - mode: host
|
|
# protocol: tcp
|
|
# published: 7506
|
|
# target: 8544
|
|
|
|
optimism:
|
|
extends:
|
|
file: docker-compose.common.yml
|
|
service: base
|
|
volumes:
|
|
- ./config/production-optimism.toml:/config.toml
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 7507
|
|
target: 8544
|
|
|
|
polygon:
|
|
extends:
|
|
file: docker-compose.common.yml
|
|
service: base
|
|
volumes:
|
|
- ./config/production-polygon.toml:/config.toml
|
|
ports:
|
|
- mode: host
|
|
protocol: tcp
|
|
published: 7508
|
|
target: 8544
|