-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (37 loc) · 895 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (37 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Runs local CENNZnet nodes for integration tests
# `docker-compose up`
# `yarn test:e2e`
version: '3'
services:
# dev node with runtime v40 and client 1.4.0
testnet_eth:
container_name: ethNode
image: ethereumoptimism/hardhat
ports:
- '8545:8545'
- '30303:30303'
# dev node with runtime v40 and client 1.4.0
testnet_node_alice:
container_name: testnet_node_alice
image: cennznet/cennznet:latest
command:
- --dev
- --tmp
- --no-mdns
- --unsafe-ws-external
- --unsafe-rpc-external
- --eth-http=http://ethNode:8545
ports:
- '9933:9933'
- '9944:9944'
# dev node with runtime v36 and client 1.1.1
v36_node:
container_name: v36_node
image: cennznet/cennznet:1.1.1
command:
- --dev
- --no-mdns
- --unsafe-ws-external
- --ws-port=9945
ports:
- '9945:9945'