Skip to content
Snippets Groups Projects
Select Git revision
  • 45cce8b9159919f30ca3b3dbaefeb93e8a658dc6
  • master default protected
  • elois-ci-refactor protected
  • gtest
  • hugo/gtest
  • json-output
  • nostr
  • 48-error-base-58-requirement-is-violated
  • no-rename
  • hugo/tx-comments
  • poka/dev
  • hugo/dev
  • tuxmain/mail
  • test-gtest
  • 0.4.3-gtest-RC1
  • 0.4.3-RC2
  • 0.4.3-RC1
  • 0.4.2
  • 0.4.1
  • 0.4.0
  • 0.3.0
  • 0.2.17
  • 0.2.16
  • 0.2.15
  • 0.2.14
  • 0.2.13
  • 0.2.12
  • 0.2.10
  • 0.2.9
  • 0.2.8
  • 0.2.7
  • 0.2.6
  • 0.2.5
33 results

indexer-queries.graphql

Blame
  • gdev-mirror.docker-compose.yml 1.36 KiB
    # This is a docker template for running a gdev mirror
    # You should write a .env file aside with the environment variables:
    #
    # --- .env ---
    # SERVER_DOMAIN=gdev.example.com
    # PEER_ID=1234XxxXXxxXxxxXxzbQqEkEpTPxD9S1PtpzkZSYoueyERA5vVtQ
    # ------------
    #
    # The peer id has to be replaced withe the output of the following command
    #
    # >>> PEER_ID >>>
    # docker run --rm -it --entrypoint duniter -v $PWD:/var/lib/duniter/  duniter/duniter-v2s:v0.3.0 key generate-node-key --file /var/lib/duniter/node.key
    # <<<<<<<<<<<<<<<
    
    
    version: "3.4"
    
    services:
      duniter-rpc:
        image: duniter/duniter-v2s:v0.3.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:
          - ./node.key:/etc/duniter/node.key
          - duniter-rpc-data:/var/lib/duniter/
        environment:
          - DUNITER_CHAIN_NAME=gdev
        command:
          - "--node-key-file"
          - "/var/lib/duniter/node.key"
          - "--public-addr"
          # SERVER_DOMAIN should be replaced by a domain name that point on your server
          # PEER_ID should be replaced by the output of the command given at the top of this file
          - "/dns/${SERVER_DOMAIN?SERVER_DOMAIN should be set}/tcp/30333/p2p/${PEER_ID?PEER_ID should be set}"
          - "--rpc-cors"
          - "all"
    
    volumes:
      duniter-rpc-data: