Skip to content
Snippets Groups Projects
Select Git revision
  • b43a5fc
  • master default protected
  • polkadart-stuff
  • dev
  • provider-to-riverpod
  • implementLightnode
  • subscribesSplit
  • hugo_RML16
  • refactorOnboardingSlideshow
  • duniterV1Latest
  • scanNetwork
  • dubp_rs
  • v0.2.2+118
  • v0.2.1+113
  • polkawallet-sdk-latest
  • v0.1.29+111
  • v0.1.28+109
  • v0.1.27+108
  • v0.1.26+107
  • v0.1.25+106
  • v0.1.25+105
  • v0.1.24+102
  • v0.1.23+101
  • v0.1.22+100
  • v0.1.22+99
  • v0.1.21+98
  • v0.1.21+97
  • v0.1.21+96
  • v0.1.21+95
  • v0.1.21+94
  • v0.1.21+93
  • v0.1.20+92
32 results

pubspec.yaml

Blame
  • gdev-validator.docker-compose.yml 1.84 KiB
    version: "3.4"
    
    services:
      duniter-rpc:
        image: duniter/duniter-v2s:v0.1.0
        restart: unless-stopped
        ports:
          # telemetry
          - 127.0.0.1:9615:9615
          # rpc
          - 127.0.0.1:9933:9933
          # rpc-ws
          - 127.0.0.1:9944:9944
          # p2p
          - 30333:30333
        volumes:
          - ./duniter-rpc/:/var/lib/duniter/
        environment:
          - DUNITER_CHAIN_NAME=gdev
        command:
          - "--execution"
          - "Wasm"
          - "--node-key-file"
          - "/var/lib/duniter/node-key"
          - "--public-addr"
          # SERVER_IP should be replaced by the public IP of your server
          #
          # The PEER_ID should be replaced by the output of this command:
          # docker run --rm -it --entrypoint -v $PWD/duniter-rpc/:/var/lib/duniter/ duniter duniter/duniter-v2s:v0.1.0 key generate-node-key --file /var/lib/duniter/node-key.txt
          - "/ip4/SERVER_IP/tcp/30333/p2p/PEER_ID"
          - "--rpc-cors"
          - "all"
    
      duniter-validator:
        image: duniter/duniter-v2s:v0.1.0
        restart: unless-stopped
        ports:
          # telemetry
          - 127.0.0.1:9616:9615
          # rpc
          - 127.0.0.1:9934:9933
          # rpc-ws
          - 127.0.0.1:9945:9944
          # p2p
          - 30334:30333
        volumes:
          - ./duniter-validator/:/var/lib/duniter/
        environment:
          - DUNITER_CHAIN_NAME=gdev
        command:
          - "--execution"
          - "Wasm"
          - "--node-key-file"
          - "/var/lib/duniter/node-key"
          - "--public-addr"
          # SERVER_IP should be replaced by the public IP of your server
          #
          # The PEER_ID should be replaced by the output of this command:
          # docker run --rm -it --entrypoint duniter -v $PWD/duniter-validator/:/var/lib/duniter/ duniter/duniter-v2s:v0.1.0 key generate-node-key --file /var/lib/duniter/node-key.txt
          - "/ip4/SERVER_IP/tcp/30334/p2p/PEER_ID"
          - "--rpc-methods=Unsafe"
          - "--validator"
          - "--rpc-cors"
          - "all"