Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
add testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe committed Dec 13, 2023
1 parent 9b5cd97 commit 0bbcc2f
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/ormpscan2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ development:
- 42161
- 46
- 44
- 421614
- 11155111


test:

Expand All @@ -13,3 +16,5 @@ production:
- 42161
- 46
- 44
- 421614
- 11155111
106 changes: 106 additions & 0 deletions g2.generic.darwinia.network.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
docker_app_path: /mnt/data/msgportscan
docker_app_runner:
container:
msgportscan-web:
image: ghcr.io/darwinia-network/msgportscan:v0.1.6
ports:
- '127.0.0.1:10201:3000'
command:
- bundle
- exec
- rails
- s
- -p=3000
environment:
REDIS_URL: redis://msgportscan-redis:6379/0
POSTGRES_HOST: msgportscan-db
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: Qh6a2a7YFyhH
RAILS_MASTER_KEY: 5f6942b8e8c607c2be8d64cc43c4b291
EXPLORER_ARB1_API_KEY: MV8SRCQZCB3SUU48XP7T7VV4YER63ZSS6H
EXPLORER_ETH_API_KEY: CQZEXX84G6AQ5R8AZCII626EA43VPNJEEU
raw:
depends_on:
- msgportscan-db
- msgportscan-redis
msgportscan-event-logs-tracing:
image: ghcr.io/darwinia-network/msgportscan:v0.1.6
command:
- bin/pug
environment:
REDIS_URL: redis://msgportscan-redis:6379/0
POSTGRES_HOST: msgportscan-db
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: Qh6a2a7YFyhH
RAILS_MASTER_KEY: 5f6942b8e8c607c2be8d64cc43c4b291
EXPLORER_ARB1_API_KEY: MV8SRCQZCB3SUU48XP7T7VV4YER63ZSS6H
EXPLORER_ETH_API_KEY: CQZEXX84G6AQ5R8AZCII626EA43VPNJEEU
raw:
depends_on:
- msgportscan-db
- msgportscan-redis
msgportscan-tracing:
image: ghcr.io/darwinia-network/msgportscan:v0.1.6
command:
- bundle
- exec
- rails
- messages:trace
environment:
REDIS_URL: redis://msgportscan-redis:6379/0
POSTGRES_HOST: msgportscan-db
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: Qh6a2a7YFyhH
RAILS_MASTER_KEY: 5f6942b8e8c607c2be8d64cc43c4b291
raw:
depends_on:
- msgportscan-db
- msgportscan-redis
msgportscan-touching:
image: ghcr.io/darwinia-network/msgportscan:v0.1.6
command:
- bundle
- exec
- rails
- touch
environment:
REDIS_URL: redis://msgportscan-redis:6379/0
POSTGRES_HOST: msgportscan-db
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: Qh6a2a7YFyhH
RAILS_MASTER_KEY: 5f6942b8e8c607c2be8d64cc43c4b291
raw:
depends_on:
- msgportscan-db
- msgportscan-redis

msgportscan-db:
image: postgres:14-alpine
volumes:
- '{{ docker_app_path }}/data/postgres:/var/lib/postgresql/data'
environment:
POSTGRES_PASSWORD: Qh6a2a7YFyhH
msgportscan-redis:
image: redis:7-alpine
command:
- redis-server


nginx_conf:
ssl:
- darwinia
proxy_endpoint:
name: msgportscan
endpoints:
- name: msgportscan
enable: true
domains:
- msgscan.darwinia.network
listen: 443
additional:
x_in_server: |
include /etc/nginx/conf.d/common/ssl/darwinia/ssl-cf-darwinia.conf;
locations:
- endpoint: http://127.0.0.1:10201


2 changes: 2 additions & 0 deletions rpcs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Pug::Network.find_by(chain_id: 1).update(rpc: "https://eth.llamarpc.com")
Pug::Network.find_by(chain_id: 42161).update(rpc: "https://arbitrum.llamarpc.com")

0 comments on commit 0bbcc2f

Please sign in to comment.