新装版本2.3prb

docker-compose -f node.yml up -d

version: “3”
services:
node:
image: phalanetwork/khala-node:latest
container_name: node
hostname: node
restart: always
ports:
- “9933:9933”
- “9934:9934”
- “9944:9944”
- “9945:9945”
- “30333:30333”
- “30334:30334”
environment:
- NODE_NAME=PNODE
- NODE_ROLE=MINER
volumes:
- /var/khala-dev-node:/root/data

Data Provider

version: “3”

x-defaults: &defaults
volumes: &default-volume-config
- /var/khala-dev-node:/var/data

services:
data_provider:
image: phalanetwork/prb:v2.3.0
hostname: data_provider
network_mode: host
restart: always
volumes: *default-volume-config
logging:
options:
max-size: “1g”
environment:
- PHALA_MODULE=data_provider
- NODE_ENV=development
- PHALA_LOGGER_LEVEL=debug
- PHALA_PARENT_CHAIN_ENDPOINT=ws://127.0.0.1:9945
- PHALA_CHAIN_ENDPOINT=ws://127.0.0.1:9944
- PHALA_WALKIE_LISTEN_ADDRESSES=/ip4/0.0.0.0/tcp/28888
- PHALA_BRIDGE_IDENTITY=production
- PHALA_LIFECYCLE_BLOB_SERVER_SESSION_MAX_MEMORY=64
entrypoint:
- “node”
- “–trace-warnings”
- “–experimental-json-modules”
- “–es-module-specifier-resolution=node”
- “–harmony-top-level-await”
- “dist/index”

monitor:
image: phalanetwork/prb-monitor:sha-c0baf24
hostname: monitor
network_mode: host
environment:
- PTP_BOOT_NODES=/ip4/127.0.0.1/tcp/28888/peer_id_of_data_provider


Lifecycle Manager and Trader

version: “3”

x-defaults: &defaults
volumes: &default-volume-config
- ./data:/var/data

services:
data_provider:
image: phalanetwork/prb:v2.3.0
hostname: data_provider
network_mode: host
restart: always
volumes: *default-volume-config
logging:
options:
max-size: “1g”
environment:
- PHALA_MODULE=data_provider
- NODE_ENV=development
- PHALA_LOGGER_LEVEL=debug
- PHALA_PARENT_CHAIN_ENDPOINT=ws://127.0.0.1:9945
- PHALA_CHAIN_ENDPOINT=ws://127.0.0.1:9944
- PHALA_WALKIE_LISTEN_ADDRESSES=/ip4/0.0.0.0/tcp/28888
- PHALA_BRIDGE_IDENTITY=production
- PHALA_LIFECYCLE_BLOB_SERVER_SESSION_MAX_MEMORY=64
entrypoint:
- “node”
- “–trace-warnings”
- “–experimental-json-modules”
- “–es-module-specifier-resolution=node”
- “–harmony-top-level-await”
- “dist/index”

monitor:
image: phalanetwork/prb-monitor:next
hostname: monitor
network_mode: host
environment:
- PTP_BOOT_NODES=/ip4/127.0.0.1/tcp/28888/peer_id_of_data_provider


大老帮我看看那里不对,访问IP:3000 data_provider页出不来

node先同步到最新先。