diff --git a/config/ormpscan2.yml b/config/ormpscan2.yml index c1aef07..fd2e447 100644 --- a/config/ormpscan2.yml +++ b/config/ormpscan2.yml @@ -4,6 +4,9 @@ development: - 42161 - 46 - 44 + - 421614 + - 11155111 + test: @@ -13,3 +16,5 @@ production: - 42161 - 46 - 44 + - 421614 + - 11155111 diff --git a/g2.generic.darwinia.network.yml b/g2.generic.darwinia.network.yml new file mode 100644 index 0000000..d1a1247 --- /dev/null +++ b/g2.generic.darwinia.network.yml @@ -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 + + diff --git a/rpcs b/rpcs new file mode 100644 index 0000000..303a80b --- /dev/null +++ b/rpcs @@ -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")