github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/docker-compose.yml (about)

     1  version: '3'
     2  
     3  services:
     4    fbchaindnode0:
     5      container_name: fbchaindnode0
     6      image: "fbchain/node"
     7      ports:
     8        - "26656-26657:26656-26657"
     9      environment:
    10        - ID=0
    11        - LOG=${LOG:-fbchaind.log}
    12      volumes:
    13        - ./build:/fbchaind:Z
    14      networks:
    15        localnet:
    16          ipv4_address: 192.168.10.2
    17  
    18    fbchaindnode1:
    19      container_name: fbchaindnode1
    20      image: "fbchain/node"
    21      ports:
    22        - "26659-26660:26656-26657"
    23      environment:
    24        - ID=1
    25        - LOG=${LOG:-fbchaind.log}
    26      volumes:
    27        - ./build:/fbchaind:Z
    28      networks:
    29        localnet:
    30          ipv4_address: 192.168.10.3
    31  
    32    fbchaindnode2:
    33      container_name: fbchaindnode2
    34      image: "fbchain/node"
    35      environment:
    36        - ID=2
    37        - LOG=${LOG:-fbchaind.log}
    38      ports:
    39        - "26661-26662:26656-26657"
    40      volumes:
    41        - ./build:/fbchaind:Z
    42      networks:
    43        localnet:
    44          ipv4_address: 192.168.10.4
    45  
    46    fbchaindnode3:
    47      container_name: fbchaindnode4
    48      image: "fbchain/node"
    49      environment:
    50        - ID=3
    51        - LOG=${LOG:-fbchaind.log}
    52      ports:
    53        - "26663-26664:26656-26657"
    54      volumes:
    55        - ./build:/fbchaind:Z
    56      networks:
    57        localnet:
    58          ipv4_address: 192.168.10.5
    59  
    60  networks:
    61    localnet:
    62      driver: bridge
    63      ipam:
    64        driver: default
    65        config:
    66        -
    67          subnet: 192.168.10.0/16
    68