turn on more production servers

This commit is contained in:
Bryan Stitt 2022-10-12 23:30:50 +00:00
parent eace40aa91
commit d6662afbe8
2 changed files with 54 additions and 56 deletions

@ -180,6 +180,7 @@ These are roughly in order of completition
- [x] user create script should allow a description field
- [x] change stats to using the database
- [x] emit user stat on retry
- [ ] include if archive query or not in the stats
- [ ] ability to generate a key from a web endpoint
- this is already partially done, but we need to double check it works. preferrably with tests
- [ ] ability to domain lock or ip lock said key
@ -221,6 +222,10 @@ These are roughly in order of completition
- [ ] BUG? WARN web3_proxy::rpcs::blockchain: Missing connection_head_block in block_hashes. Fetching now connection_head_hash=0x4b7a…14b5 conn_name=local_erigon_alpha_archive rpc=local_erigon_alpha_archive
- i see this a lot more than expected. why is it happening so much? better logs needed
- [ ] don't use unix timestamps for response_millis since leap seconds will confuse itt
- [ ] from what i thought, /status should show hashes > numbers!
- but block numbers count is maxed out (10k)
- and block hashes count is tiny (83)
- what is going on?
## V1
@ -295,6 +300,10 @@ new endpoints for users (not totally sure about the exact paths, but these featu
- opt-in link email address
- checks for api key in session cookie or header
- allows modifying user settings
- [ ] sometimes when fetching a txid through the proxy it fails, but fetching from the backends works fine
- check flashprofits logs for examples
- [ ] relevant erigon changelogs: add pendingTransactionWithBody subscription method (#5675)
## V2

@ -12,7 +12,7 @@ services:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: web3_proxy
MYSQL_DATAweb3-proxy: web3_proxy
MYSQL_DATABASE: web3_proxy
ports:
- 127.0.0.1:3307:3306
volumes:
@ -28,28 +28,17 @@ services:
environment:
ADMINER_DEFAULT_SERVER: db
influxdb:
image: influxdb:latest
ports:
- '127.0.0.1:8087:8086'
arbitrum:
extends:
file: docker-compose.common.yml
service: web3-proxy
volumes:
- ./data/influxdb:/var/lib/influxdb
environment:
- INFLUXDB_DB=db0
- INFLUXDB_ADMIN_USER=web3_proxy
- INFLUXDB_ADMIN_PASSWORD=web3_proxy
# 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
- ./config/production-arbitrum.toml:/config.toml
ports:
- mode: host
protocol: tcp
published: 7700
target: 8544
# avalanche-c:
# extends:
@ -87,6 +76,7 @@ services:
protocol: tcp
published: 7703
target: 8544
# fantom:
# extends:
# file: docker-compose.common.yml
@ -99,42 +89,41 @@ services:
# 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
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
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