different ports for running main and deferred branches
This commit is contained in:
parent
305a8aff9e
commit
80db68fd44
@ -1,7 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
base:
|
web3-proxy:
|
||||||
# TODO: build in dev but use docker hub in prod?
|
# TODO: build in dev but use docker hub in prod?
|
||||||
build: .
|
build: .
|
||||||
|
init: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: --config /config.toml --workers 16
|
command: --config /config.toml --workers 16
|
||||||
environment:
|
environment:
|
||||||
|
@ -12,9 +12,9 @@ services:
|
|||||||
image: mysql
|
image: mysql
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: web3_proxy
|
MYSQL_ROOT_PASSWORD: web3_proxy
|
||||||
MYSQL_DATABASE: web3_proxy
|
MYSQL_DATAweb3-proxy: web3_proxy
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:3306:3306
|
- 127.0.0.1:3307:3306
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/prod_mysql:/var/lib/mysql
|
- ./data/prod_mysql:/var/lib/mysql
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
influxdb:
|
influxdb:
|
||||||
image: influxdb:latest
|
image: influxdb:latest
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:8086:8086'
|
- '127.0.0.1:8087:8086'
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/influxdb:/var/lib/influxdb
|
- ./data/influxdb:/var/lib/influxdb
|
||||||
environment:
|
environment:
|
||||||
@ -39,111 +39,110 @@ services:
|
|||||||
- INFLUXDB_ADMIN_USER=web3_proxy
|
- INFLUXDB_ADMIN_USER=web3_proxy
|
||||||
- INFLUXDB_ADMIN_PASSWORD=web3_proxy
|
- INFLUXDB_ADMIN_PASSWORD=web3_proxy
|
||||||
|
|
||||||
arbitrum:
|
# arbitrum:
|
||||||
extends:
|
# extends:
|
||||||
file: docker-compose.common.yml
|
# file: docker-compose.common.yml
|
||||||
service: base
|
# service: web3-proxy
|
||||||
volumes:
|
# volumes:
|
||||||
- ./config/production-arbitrum.toml:/config.toml
|
# - ./config/production-arbitrum.toml:/config.toml
|
||||||
ports:
|
# ports:
|
||||||
- mode: host
|
# - mode: host
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
published: 7500
|
# published: 7700
|
||||||
target: 8544
|
# target: 8544
|
||||||
|
|
||||||
# avalanche-c:
|
# avalanche-c:
|
||||||
# extends:
|
# extends:
|
||||||
# file: docker-compose.common.yml
|
# file: docker-compose.common.yml
|
||||||
# service: base
|
# service: web3-proxy
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./config/production-avalanche-c.toml:/config.toml
|
# - ./config/production-avalanche-c.toml:/config.toml
|
||||||
# ports:
|
# ports:
|
||||||
# - mode: host
|
# - mode: host
|
||||||
# protocol: tcp
|
# protocol: tcp
|
||||||
# published: 7501
|
# published: 7701
|
||||||
# target: 8544
|
# target: 8544
|
||||||
|
|
||||||
bsc:
|
bsc:
|
||||||
extends:
|
extends:
|
||||||
file: docker-compose.common.yml
|
file: docker-compose.common.yml
|
||||||
service: base
|
service: web3-proxy
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/production-bsc.toml:/config.toml
|
- ./config/production-bsc.toml:/config.toml
|
||||||
ports:
|
ports:
|
||||||
- mode: host
|
- mode: host
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
published: 7502
|
published: 7702
|
||||||
target: 8544
|
target: 8544
|
||||||
|
|
||||||
eth:
|
eth:
|
||||||
extends:
|
extends:
|
||||||
file: docker-compose.common.yml
|
file: docker-compose.common.yml
|
||||||
service: base
|
service: web3-proxy
|
||||||
command: --config /config.toml --workers 72
|
command: --config /config.toml --workers 48
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/production-eth.toml:/config.toml
|
- ./config/production-eth.toml:/config.toml
|
||||||
ports:
|
ports:
|
||||||
- mode: host
|
- mode: host
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
published: 7503
|
published: 7703
|
||||||
target: 8544
|
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
|
||||||
|
|
||||||
fantom:
|
# gnosis:
|
||||||
extends:
|
# extends:
|
||||||
file: docker-compose.common.yml
|
# file: docker-compose.common.yml
|
||||||
service: base
|
# service: web3-proxy
|
||||||
volumes:
|
# volumes:
|
||||||
- ./config/production-fantom.toml:/config.toml
|
# - ./config/production-gnosis.toml:/config.toml
|
||||||
ports:
|
# ports:
|
||||||
- mode: host
|
# - mode: host
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
published: 7504
|
# published: 7705
|
||||||
target: 8544
|
# 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:
|
# goerli:
|
||||||
# extends:
|
# extends:
|
||||||
# file: docker-compose.common.yml
|
# file: docker-compose.common.yml
|
||||||
# service: base
|
# service: web3-proxy
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./config/production-goerli.toml:/config.toml
|
# - ./config/production-goerli.toml:/config.toml
|
||||||
# ports:
|
# ports:
|
||||||
# - mode: host
|
# - mode: host
|
||||||
# protocol: tcp
|
# protocol: tcp
|
||||||
# published: 7506
|
# published: 7706
|
||||||
# target: 8544
|
# target: 8544
|
||||||
|
|
||||||
optimism:
|
# optimism:
|
||||||
extends:
|
# extends:
|
||||||
file: docker-compose.common.yml
|
# file: docker-compose.common.yml
|
||||||
service: base
|
# service: web3-proxy
|
||||||
volumes:
|
# volumes:
|
||||||
- ./config/production-optimism.toml:/config.toml
|
# - ./config/production-optimism.toml:/config.toml
|
||||||
ports:
|
# ports:
|
||||||
- mode: host
|
# - mode: host
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
published: 7507
|
# published: 7707
|
||||||
target: 8544
|
# target: 8544
|
||||||
|
|
||||||
polygon:
|
# polygon:
|
||||||
extends:
|
# extends:
|
||||||
file: docker-compose.common.yml
|
# file: docker-compose.common.yml
|
||||||
service: base
|
# service: web3-proxy
|
||||||
volumes:
|
# volumes:
|
||||||
- ./config/production-polygon.toml:/config.toml
|
# - ./config/production-polygon.toml:/config.toml
|
||||||
ports:
|
# ports:
|
||||||
- mode: host
|
# - mode: host
|
||||||
protocol: tcp
|
# protocol: tcp
|
||||||
published: 7508
|
# published: 7708
|
||||||
target: 8544
|
# target: 8544
|
||||||
|
Loading…
Reference in New Issue
Block a user