Skip to content
Snippets Groups Projects
Select Git revision
  • 0345d7e5e565f0913c2d70c51f56750ba0b38e51
  • dev default protected
  • release/1.9.1 protected
  • pini-1.8-docker
  • pini-sync-onlypeers
  • duniter-v2s-issue-123-industrialize-releases
  • feature/build-aarch64-nodejs16
  • release/1.8 protected
  • pini-docker
  • ci_tags
  • fix/1448/1.8/txs_not_stored
  • feature/node-20
  • fix/1441/node_summary_with_storage
  • fix/1442/improve_bma_tx_history
  • feature/wotwizard-1.8
  • release/1.9 protected
  • 1.7 protected
  • feature/docker-set-latest protected
  • feature/fast-docker-build-1.8.4
  • fast-docker-build protected
  • feature/dump-distance
  • v1.8.7 protected
  • v1.8.7-rc4 protected
  • v1.8.7-rc3 protected
  • v1.8.7-rc2 protected
  • v1.8.7-rc1 protected
  • v1.8.6 protected
  • v1.7.23 protected
  • v1.8.5 protected
  • v1.8.4 protected
  • v1.8.3 protected
  • v1.8.2 protected
  • v1.8.1 protected
  • v1.8.0 protected
  • v1.8.0-rc1 protected
  • v1.8.0-beta5 protected
  • v1.8.0-beta4 protected
  • v1.8.0-beta3 protected
  • v1.8.0-beta2 protected
  • v1.8.0-beta protected
  • v1.7.21 protected
41 results

duniter.sh

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"