-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: configs updated for new public node suggested endpoints
- Loading branch information
Showing
1 changed file
with
91 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,94 @@ | ||
module.exports = { | ||
apps: [ | ||
{ | ||
name: 'l2-micro-service', | ||
script: 'target/release/l2-micro-service', | ||
env: { | ||
ARBITRUM_SEPOLIA_RPC_URL:'https://arbitrum-sepolia.publicnode.com', | ||
ARBITRUM_MAINNET_RPC_URL:'https://arbitrum-one.publicnode.com', | ||
DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
} | ||
apps: [ | ||
{ | ||
name: "l2-micro-service", | ||
script: "target/release/l2-micro-service", | ||
env: { | ||
ARBITRUM_SEPOLIA_RPC_URL: "https://arbitrum-sepolia-rpc.publicnode.com", | ||
ARBITRUM_MAINNET_RPC_URL: "https://arbitrum-one-rpc.publicnode.com", | ||
DB_URL: "postgresql://postgres:password@localhost:5432/l2indexer", | ||
}, | ||
// { | ||
// name: 'monitor-arbitrum-sepolia', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'sepolia', | ||
// CHAIN_NAME: 'arbitrum', | ||
// RPC_URL: 'https://ethereum-sepolia.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-base-sepolia', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'sepolia', | ||
// CHAIN_NAME: 'base', | ||
// RPC_URL: 'https://ethereum-sepolia.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
{ | ||
name: 'monitor-optimism-sepolia', | ||
script: 'target/release/monitor-events', | ||
env: { | ||
CHAIN_TYPE: 'sepolia', | ||
CHAIN_NAME: 'optimism', | ||
RPC_URL: 'https://ethereum-sepolia.publicnode.com', | ||
DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
} | ||
}, | ||
// { | ||
// name: 'monitor-arbitrum-sepolia', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'sepolia', | ||
// CHAIN_NAME: 'arbitrum', | ||
// RPC_URL: 'https://ethereum-sepolia-rpc.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-base-sepolia', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'sepolia', | ||
// CHAIN_NAME: 'base', | ||
// RPC_URL: 'https://ethereum-sepolia-rpc.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
{ | ||
name: "monitor-optimism-sepolia", | ||
script: "target/release/monitor-events", | ||
env: { | ||
CHAIN_TYPE: "sepolia", | ||
CHAIN_NAME: "optimism", | ||
RPC_URL: "https://ethereum-sepolia-rpc.publicnode.com", | ||
DB_URL: "postgresql://postgres:password@localhost:5432/l2indexer", | ||
}, | ||
// TODO: Zora docs haven't update sepolia `L2OutputOracle` address | ||
// { | ||
// name: 'monitor-zora-sepolia', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'sepolia', | ||
// CHAIN_NAME: 'zora', | ||
// RPC_URL: 'https://ethereum-sepolia.publicnode.com' | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-base-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'base', | ||
// RPC_URL: 'https://ethereum.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-optimism-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'optimism', | ||
// RPC_URL: 'https://ethereum.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-zora-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'zora', | ||
// RPC_URL: 'https://ethereum.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-arbitrum-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'arbitrum', | ||
// RPC_URL: 'https://ethereum.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// } | ||
] | ||
}; | ||
}, | ||
// TODO: Zora docs haven't update sepolia `L2OutputOracle` address | ||
// { | ||
// name: 'monitor-zora-sepolia', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'sepolia', | ||
// CHAIN_NAME: 'zora', | ||
// RPC_URL: 'https://ethereum-sepolia-rpc.publicnode.com' | ||
// } | ||
// }, | ||
|
||
// { | ||
// name: 'monitor-base-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'base', | ||
// RPC_URL: 'https://ethereum-rpc.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-optimism-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'optimism', | ||
// RPC_URL: 'https://ethereum-rpc.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-zora-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'zora', | ||
// RPC_URL: 'https://ethereum-rpc.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// }, | ||
// { | ||
// name: 'monitor-arbitrum-mainnet', | ||
// script: 'target/release/monitor-events', | ||
// env: { | ||
// CHAIN_TYPE: 'mainnet', | ||
// CHAIN_NAME: 'arbitrum', | ||
// RPC_URL: 'https://ethereum-rpc.publicnode.com', | ||
// DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', | ||
// } | ||
// } | ||
], | ||
}; |