Tezos Testnet Node Install Memo

Tezos is a really interresting blockchain that can upgrade itself.
As the core teams have recently decided to increase the frequency of upgrade proposals, it’s a good opportunity to write down my process for installing a testnet node.

We’ll install the tesnet for next protocol called “Edo”, the testnet gets a different name each time, time time it’s “ebetanet”.

Cool thing is a docker container is available, so let’s begin.

Compose file

I used a docker-compose file to manage the container.

version: "3"

services:
    ebetanet:
        image: tezos/tezos:ebetanet-release
        command: ["tezos-node"]
        hostname: node
        ports:
            - "8732:8732"
            - "9732:9732/udp"
        volumes:
            - tezos_data:/var/run/tezos/node
            - tezos_home:/home/tezos

volumes:
    tezos_home:
    tezos_data:

Start the container

docker-compose up -d

Watch logs

docker-compose logs -f

Wait for the node to be bootstrapped

docker-compose exec ebetanet tezos-client bootstrapped

Proxy

Proxy is done by caddy, I add the CORS header for any dApp to be able to call the node.

ebetanet.duckdns.org {
  reverse_proxy 127.0.0.1:8732 {
    header_down Access-Control-Allow-Origin *
  }
}