/ docker-compose.yaml
docker-compose.yaml
 1  services:
 2    geth-for-codex:
 3      build:
 4        context: .
 5        dockerfile: Dockerfile
 6      ports:
 7        - 8545:8545
 8        - 30303:30303
 9      environment:
10        - GETH_ARGS=--http --http.addr 0.0.0.0
11        - ENABLE_MINER=1
12        - UNLOCK_START_INDEX=0
13        - UNLOCK_NUMBER=1
14        - NAT_PUBLIC_IP_AUTO=true
15    geth-for-codex2:
16      build:
17        context: .
18        dockerfile: Dockerfile
19      ports:
20        - 8546:8546
21      environment:
22        - GETH_ARGS=--http --http.addr 0.0.0.0 --bootnodes enode://5db8dc8028481a409c3f7a7bcd138926ada0b8b412f7df51e4fd34f67327a5a9d522367af4c0d4fdbc745b81702f88e1ade6cc50ea54997b7d069a5e6082734d@192.168.0.3:30303 --nat=extip:192.168.0.3 --ws --ws.addr 0.0.0.0 --ipcdisable --syncmode full
23        - UNLOCK_START_INDEX=2
24        - UNLOCK_NUMBER=1
25        - NUMBER_OF_ACCOUNTS=1
26