Skip to content
Snippets Groups Projects
Select Git revision
  • 23a08a2a347c6531f02845b63b21dd26cf852b67
  • main default protected
  • release/1.1
  • encrypt_comments
  • mnemonic_dewif
  • authors_rules
  • 0.14
  • rtd
  • 1.2.1 protected
  • 1.2.0 protected
  • 1.1.1 protected
  • 1.1.0 protected
  • 1.0.0 protected
  • 1.0.0rc1 protected
  • 1.0.0rc0 protected
  • 1.0.0-rc protected
  • 0.62.0 protected
  • 0.61.0 protected
  • 0.60.1 protected
  • 0.58.1 protected
  • 0.60.0 protected
  • 0.58.0 protected
  • 0.57.0 protected
  • 0.56.0 protected
  • 0.55.1 protected
  • 0.55.0 protected
  • 0.54.3 protected
  • 0.54.2 protected
28 results

__init__.py

Blame
  • docker-compose.yml 1.02 KiB
    # This is a minimal docker-compose.yml template for running a Duniter instance
    # For more detailed examples, look at docker/compose folder
    
    version: "3.5"
    
    services:
      duniter-v2s:
        container_name: duniter-v2s
        # choose the version of the image here
        image: duniter/duniter-v2s:latest
        ports:
          # telemetry
          - 9615:9615
          # rpc
          - 9944:9944
          # p2p
          - 30333:30333
        environment:
          DUNITER_NODE_NAME: "duniter_local"
          DUNITER_CHAIN_NAME: "gdev"
        volumes:
          - duniter-local-data:/var/lib/duniter
      distance-oracle:
        container_name: distance-oracle
        # choose the version of the image here
        image: duniter/duniter-v2s:latest
        entrypoint: docker-distance-entrypoint
        environment:
          ORACLE_RPC_URL: "ws://duniter-v2s:9944"
          ORACLE_RESULT_DIR: "/var/lib/duniter/chains/gdev/distance/"
          ORACLE_EXECUTION_INTERVAL: "1800"
          ORACLE_MAX_DEPTH: "5"
          ORACLE_LOG_LEVEL: "info"
        volumes:
          - duniter-local-data:/var/lib/duniter
    
    volumes:
      duniter-local-data: