Skip to content

Commit

Permalink
Update docker-compose.yaml (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
uu-z authored Jan 31, 2024
1 parent 25d1449 commit 5f0f734
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ version: '3.6'

services:
w3bapp:
image: ${WS_BACKEND_IMAGE:-ghcr.io/machinefi/w3bstream:latest}
image: ${WS_BACKEND_IMAGE:-ghcr.io/machinefi/w3bstream:main}
depends_on:
- 'postgres'
- 'mqtt_server'
- "postgres"
- "mqtt_server"
- "redis"
container_name: w3bstream
platform: linux/x86_64
working_dir: /w3bstream
restart: always
ports:
- '8888:8888'
- '8889:8889'
- "8888:8888"
- "8889:8889"
environment:
SRV_APPLET_MGR__EthClient_Endpoints: '{"4689": "https://babel-api.mainnet.iotex.io", "4690": "https://babel-api.testnet.iotex.io", "1": "https://ethereum.iotex.one/v1/mainnet", "5": "https://ethereum.iotex.one/v1/goerli", "137": "https://polygon-rpc.com", "80001": "https://mumbai.polygonscan.com/"}'
SRV_APPLET_MGR__ChainConfig_Configs: '[{"chainID":4689,"name":"iotex-mainnet","endpoint":"https://babel-api.mainnet.iotex.io"},{"chainID":4690,"name":"iotex-testnet","endpoint":"https://babel-api.testnet.iotex.io","aaBundlerEndpoint":"https://bundler.testnet.w3bstream.com","aaPaymasterEndpoint":"https://paymaster.testnet.w3bstream.com/rpc","aaEntryPointContractAddress":"0xc3527348De07d591c9d567ce1998eFA2031B8675","aaAccountFactoryContractAddress":"0xA8e5d5Ca2924f176BD3Bf1049550920969F23450"},{"chainID":1,"name":"ethereum-mainnet","endpoint":"https://ethereum.iotex.one/v1/mainnet"},{"chainID":5,"name":"goerli","endpoint":"https://ethereum.iotex.one/v1/goerli"},{"chainID":137,"name":"polygon-mainnet","endpoint":"https://polygon-rpc.com"},{"chainID":80001,"name":"mumbai","endpoint":"https://polygon-mumbai-bor.publicnode.com"},{"name":"solana-devnet","endpoint":"https://api.devnet.solana.com"},{"name":"solana-testnet","endpoint":"https://api.testnet.solana.com"},{"name":"solana-mainnet-beta","endpoint":"https://api.mainnet-beta.solana.com"},{"chainID":421613,"name":"arbitrum-goerli","endpoint":"https://goerli-rollup.arbitrum.io/rpc"},{"chainID":42161,"name":"arbitrum-one","endpoint":"https://arb1.arbitrum.io/rpc"},{"chainID":420,"name":"op-goerli","endpoint":"https://goerli.optimism.io"},{"chainID":10,"name":"op-mainnet","endpoint":"https://mainnet.optimism.io"},{"chainID":8453,"name":"base-mainnet","endpoint":"https://mainnet.base.org"},{"chainID":84531,"name":"base-goerli","endpoint":"https://goerli.base.org"}]'
SRV_APPLET_MGR__ChainConfig_Configs: '[{"chainID":4689,"name":"iotex-mainnet","endpoint":"https://babel-api.mainnet.iotex.io"},{"chainID":4690,"name":"iotex-testnet","endpoint":"https://babel-api.testnet.iotex.io","aaBundlerEndpoint":"https://bundler.testnet.w3bstream.com","aaPaymasterEndpoint":"https://paymaster.testnet.w3bstream.com/rpc","aaEntryPointContractAddress":"0xc3527348De07d591c9d567ce1998eFA2031B8675","aaAccountFactoryContractAddress":"0xA8e5d5Ca2924f176BD3Bf1049550920969F23450"},{"chainID":1,"name":"ethereum-mainnet","endpoint":"https://ethereum.iotex.one/v1/mainnet"},{"chainID":5,"name":"goerli","endpoint":"https://ethereum.iotex.one/v1/goerli"},{"chainID":137,"name":"polygon-mainnet","endpoint":"https://polygon-rpc.com"},{"chainID":80001,"name":"mumbai","endpoint":"https://polygon-mumbai-bor.publicnode.com"},{"name":"solana-devnet","endpoint":"https://api.devnet.solana.com"},{"name":"solana-testnet","endpoint":"https://api.testnet.solana.com"},{"name":"solana-mainnet-beta","endpoint":"https://api.mainnet-beta.solana.com"},{"chainID":421613,"name":"arbitrum-goerli","endpoint":"https://goerli-rollup.arbitrum.io/rpc"},{"chainID":42161,"name":"arbitrum-one","endpoint":"https://arb1.arbitrum.io/rpc"},{"chainID":420,"name":"op-goerli","endpoint":"https://goerli.optimism.io"},{"chainID":10,"name":"op-mainnet","endpoint":"https://mainnet.optimism.io"},{"chainID":8453,"name":"base-mainnet","endpoint":"https://mainnet.base.org"},{"chainID":84531,"name":"base-goerli","endpoint":"https://goerli.base.org"},{"chainID":324,"name":"zksync-era-mainnet","endpoint":"https://mainnet.era.zksync.io"},{"chainID":280,"name":"zksync-era-testnet","endpoint":"https://testnet.era.zksync.dev"},{"chainID":71,"name":"conflux-espace-testnet","endpoint":"https://evmtestnet.confluxrpc.com"},{"chainID":1030,"name":"conflux-espace-mainnet","endpoint":"https://evm.confluxrpc.com"}]'
SRV_APPLET_MGR__ChainConfig_AAUserOpEndpoint: http://aa_service:8080/userop/tx
SRV_APPLET_MGR__Jwt_ExpIn: ${JWT_EXPIN:-1h}
SRV_APPLET_MGR__Jwt_Issuer: ${JWT_ISSUER:-w3bstream}
Expand All @@ -28,9 +28,9 @@ services:
SRV_APPLET_MGR__WasmDB: postgresql://${POSTGRES_USER:-w3badmin}:${POSTGRES_PASSWORD:-PaSsW0Rd}@postgres:5432
SRV_APPLET_MGR__MqttBroker_Server: mqtt://mqtt_server:1883
SRV_APPLET_MGR__MetricsCenter_Endpoint: http://prometheus:9090
SRV_APPLET_MGR__MetricsCenter_ClickHouseDSN: ''
SRV_APPLET_MGR__Server_Port: '8888'
SRV_APPLET_MGR__ServerEvent_Port: '8889'
SRV_APPLET_MGR__MetricsCenter_ClickHouseDSN: ""
SRV_APPLET_MGR__Server_Port: "8888"
SRV_APPLET_MGR__ServerEvent_Port: "8889"
SRV_APPLET_MGR__LocalFS_Root: /w3bstream/asserts
volumes:
- ${WS_WORKING_DIR:-.}/asserts:/w3bstream/asserts
Expand Down

0 comments on commit 5f0f734

Please sign in to comment.