forked from overprotocol/docker-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainnet.yml
57 lines (53 loc) · 1.34 KB
/
mainnet.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: "3.9"
name: "overprotocol"
networks:
over-network:
name: over-network
services:
kairos:
restart: unless-stopped
image: overfoundation/kairos:latest
container_name: kairos
networks:
- over-network
ports:
- "8545:8545" # HTTP RPC
- "8551:8551" # Engine API
- "30303:30303" # P2P TCP
volumes:
- ./datadir/execution:/data
- ./jwttoken:/jwt:ro
command: >
--datadir /data
--authrpc.addr 0.0.0.0
--authrpc.port 8551
--authrpc.jwtsecret /jwt/jwt.hex
--authrpc.vhosts "*"
chronos:
restart: unless-stopped
image: overfoundation/chronos-beacon-chain:latest
container_name: chronos
networks:
- over-network
depends_on:
- kairos
ports:
- "3500:3500" # HTTP RPC
- "4000:4000" # Beacon chain RPC port
- "13000:13000/tcp" # P2P TCP
- "12000:12000/udp" # P2P UDP
volumes:
- ./datadir/consensus:/data
- ./jwttoken:/jwt:ro
environment:
- PUBLIC_IP=${PUBLIC_IP}
command: >
--accept-terms-of-use
--datadir /data
--execution-endpoint http://kairos:8551
--jwt-secret /jwt/jwt.hex
--rpc-host=0.0.0.0
--p2p-host-ip=${PUBLIC_IP}
--http-cors-domain "*"
--http-host=0.0.0.0
--checkpoint-sync-url=https://mainnet-checkpoint.over.network/