<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Cradicle Explorer</title>
    <link href="/css/bootstrap/bootstrap.min.css" rel="stylesheet">
    <style>
      .form-control-dark::placeholder {
          color: #aaa;
          opacity: 1;
      }
    </style>
    <link rel="stylesheet" href="/assets/fontawesome/css/all.min.css">
    <link rel="icon" type="image/png" href="/favicon.png">


                <link href="/css/dashboard.css" rel="stylesheet">
                </head>
                <body>
                <header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
                  <a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 fs-6" href="/">Cradicle Explorer</a>
                  <button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                  </button>
                  <form method="get" action="/cgi-bin/main" style="width:100%;"><input class="form-control form-control-dark w-100 rounded-0 border-0" type="text" name="q" placeholder="Search repos" aria-label="Search"></form>
                  <div class="navbar-nav flex-row">
                    <div class="nav-item text-nowrap">
                      <a class="nav-link px-3 active" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2">infra-role-openethereum</a>
                    </div>
                  </div>
                </header>
                <div class="container-fluid">
                  <div class="row">
                    <nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-dark sidebar collapse">
                      <div class="position-sticky pt-3 sidebar-sticky">
                        <ul class="nav flex-column">
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2">
                              <i class="align-text-bottom fa-solid fa-info"></i>
                              Info
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&issue=list">
                              <i class="align-text-bottom fa-solid fa-layer-group"></i>
                              Issues
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&patch=list">
                              <i class="align-text-bottom fa-solid fa-vest-patches"></i>
                              Patches
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&wallet=list">
                              <i class="align-text-bottom fa-solid fa-wallet"></i>
                              Wallets
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link active" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&source=.">
                              <i class="align-text-bottom fa-solid fa-code"></i>
                              Source
                            </a>
                          </li>
                        <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted text-uppercase">
                          <span></span>
                        </h6>
                        <ul class="nav flex-column mb-2">
                        
    <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-1 mb-1 text-muted text-uppercase">
      <span>Source</span>
    </h6>
    <li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&source=defaults"><i class="fa-solid fa-folder-open" style="color:#f0c040;"></i> defaults</a></li><li><a class="nav-link py-0 active" style="padding-left:32px;" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&file=defaults%2Fmain.yml"><i class="fa-solid fa-file" style="color:#888;"></i> main.yml</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&source=meta"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> meta</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&source=tasks"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> tasks</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&source=templates"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> templates</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&file=README.md"><i class="fa-solid fa-file" style="color:#888;"></i> README.md</a></li>
    
                        </ul>
                      </div>
                    </nav>
                <main class="col-md-9 ms-sm-auto col-lg-10">
                  <div class="container px-1 py-3">
        
<div class="mb-2" style="font-size:1.1rem;"><a href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&source=.">/</a> <a href="/cgi-bin/repo?id=z3LT7ykeSZATXPf7KT4SfeNKGsPK2&source=defaults">defaults</a> / main.yml</div>
        <div class="list-group">
        <div class="list-group-item">
        <div class="mb-2" style="font-weight:bold;"><i class="fa-solid fa-file"></i> main.yml</div>
        <pre style="margin:0; font-size:0.85rem; overflow-x:auto; color:#fafafa;"><span style="color:#666; user-select:none;"> 1</span>  ---
<span style="color:#666; user-select:none;"> 2</span>  openethereum_service_name: &#x27;openeth&#x27;
<span style="color:#666; user-select:none;"> 3</span>  openethereum_service_path: &#x27;/docker/{{ openethereum_service_name }}&#x27;
<span style="color:#666; user-select:none;"> 4</span>  openethereum_compose_path: &#x27;{{ openethereum_service_path }}/docker-compose.yml&#x27;
<span style="color:#666; user-select:none;"> 5</span>  
<span style="color:#666; user-select:none;"> 6</span>  # Docker Container
<span style="color:#666; user-select:none;"> 7</span>  openethereum_cont_name: &#x27;{{ openethereum_service_name }}-node&#x27;
<span style="color:#666; user-select:none;"> 8</span>  openethereum_cont_vol: &#x27;{{ openethereum_service_path }}/node&#x27;
<span style="color:#666; user-select:none;"> 9</span>  openethereum_cont_tag: &#x27;v3.3.5&#x27;
<span style="color:#666; user-select:none;">10</span>  openethereum_cont_image: &#x27;openethereum/openethereum:{{ openethereum_cont_tag }}&#x27;
<span style="color:#666; user-select:none;">11</span>  openethereum_cont_mem_ratio: 0.6
<span style="color:#666; user-select:none;">12</span>  openethereum_cont_mem_limit: |-
<span style="color:#666; user-select:none;">13</span>    {{ (ansible_memtotal_mb * openethereum_cont_mem_ratio|float) | int }}
<span style="color:#666; user-select:none;">14</span>  
<span style="color:#666; user-select:none;">15</span>  # Config
<span style="color:#666; user-select:none;">16</span>  openethereum_chain: &#x27;foundation&#x27; # Ethereum Miannet
<span style="color:#666; user-select:none;">17</span>  openethereum_chain_to_network_map:
<span style="color:#666; user-select:none;">18</span>    foundation: &#x27;mainnet&#x27;
<span style="color:#666; user-select:none;">19</span>  openethereum_network: &#x27;{{ openethereum_chain_to_network_map[openethereum_chain] }}&#x27;
<span style="color:#666; user-select:none;">20</span>  openethereum_mode: &#x27;active&#x27;
<span style="color:#666; user-select:none;">21</span>  openethereum_pruning: &#x27;auto&#x27;
<span style="color:#666; user-select:none;">22</span>  openethereum_warp_enabled: false
<span style="color:#666; user-select:none;">23</span>  openethereum_identity: &#x27;{{ openethereum_service_name }}&#x27;
<span style="color:#666; user-select:none;">24</span>  openethereum_public_ip: &#x27;{{ ansible_host }}&#x27;
<span style="color:#666; user-select:none;">25</span>  openethereum_max_peers: 300
<span style="color:#666; user-select:none;">26</span>  openethereum_cache_size_ratio: 0.2
<span style="color:#666; user-select:none;">27</span>  openethereum_cache_size: |-
<span style="color:#666; user-select:none;">28</span>    {{ (ansible_memtotal_mb * openethereum_cache_size_ratio|float) | int }}
<span style="color:#666; user-select:none;">29</span>  
<span style="color:#666; user-select:none;">30</span>  # P2P
<span style="color:#666; user-select:none;">31</span>  openethereum_p2p_port: 30303
<span style="color:#666; user-select:none;">32</span>  
<span style="color:#666; user-select:none;">33</span>  # RPC
<span style="color:#666; user-select:none;">34</span>  openethereum_rpc_enabled: true
<span style="color:#666; user-select:none;">35</span>  openethereum_rpc_port: 8545
<span style="color:#666; user-select:none;">36</span>  openethereum_rpc_addr: &#x27;127.0.0.1&#x27;
<span style="color:#666; user-select:none;">37</span>  openethereum_rpc_cors: &#x27;none&#x27;
<span style="color:#666; user-select:none;">38</span>  openethereum_rpc_apis: [web3, eth, pubsub, net, parity, parity_pubsub, traces]
<span style="color:#666; user-select:none;">39</span>  openethereum_rpc_hosts: [&#x27;127.0.0.1&#x27;, &#x27;localhost&#x27;, &#x27;{{ hostname }}.wg&#x27;]
<span style="color:#666; user-select:none;">40</span>  
<span style="color:#666; user-select:none;">41</span>  # WebSocket
<span style="color:#666; user-select:none;">42</span>  openethereum_websocket_enabled: true
<span style="color:#666; user-select:none;">43</span>  openethereum_websocket_port: 8546
<span style="color:#666; user-select:none;">44</span>  openethereum_websocket_addr: &#x27;127.0.0.1&#x27;
<span style="color:#666; user-select:none;">45</span>  openethereum_websocket_apis: [web3, eth, pubsub, net, parity, parity_pubsub, traces]
<span style="color:#666; user-select:none;">46</span>  openethereum_websocket_origins: [&#x27;none&#x27;]
<span style="color:#666; user-select:none;">47</span>  openethereum_websocket_hosts: [&#x27;127.0.0.1&#x27;, &#x27;localhost&#x27;, &#x27;{{ hostname }}.wg&#x27;]
<span style="color:#666; user-select:none;">48</span>  
<span style="color:#666; user-select:none;">49</span>  # Metrics
<span style="color:#666; user-select:none;">50</span>  openethereum_metrics_enabled: true
<span style="color:#666; user-select:none;">51</span>  openethereum_metrics_port: 3000
<span style="color:#666; user-select:none;">52</span>  openethereum_metrics_addr: &#x27;0.0.0.0&#x27;
<span style="color:#666; user-select:none;">53</span>  
<span style="color:#666; user-select:none;">54</span>  # Consul config
<span style="color:#666; user-select:none;">55</span>  openethereum_consul_service_name: &#x27;openeth-{{ openethereum_network }}&#x27;
<span style="color:#666; user-select:none;">56</span>  openethereum_consul_address: &#x27;{{ ansible_local.wireguard.address }}&#x27;
<span style="color:#666; user-select:none;">57</span>  openethereum_consul_default_tags:
<span style="color:#666; user-select:none;">58</span>    - &#x27;openethereum&#x27;
<span style="color:#666; user-select:none;">59</span>    - &#x27;{{ env }}.{{ stage }}&#x27;
<span style="color:#666; user-select:none;">60</span>    - &#x27;{{ openethereum_chain }}&#x27;
<span style="color:#666; user-select:none;">61</span>  openethereum_consul_extra_tags: []
<span style="color:#666; user-select:none;">62</span>  openethereum_consul_tags: |-
<span style="color:#666; user-select:none;">63</span>    {{ openethereum_consul_default_tags
<span style="color:#666; user-select:none;">64</span>     + openethereum_consul_extra_tags }}
<span style="color:#666; user-select:none;">65</span>  
<span style="color:#666; user-select:none;">66</span>  # general container management
<span style="color:#666; user-select:none;">67</span>  compose_recreate: &#x27;smart&#x27;
<span style="color:#666; user-select:none;">68</span>  compose_state: &#x27;present&#x27;
<span style="color:#666; user-select:none;">69</span>  compose_restart: false
</pre>
        </div>
        </div>

</div>
</main>
</div>
</div>


</body>
</html>

