You can build the docker file by either running
docker build -t headersv .from the root directory, or
docker-compose build. Once built, you can run either
docker run headersvor
Note: If you're not using
docker compose, you'll also need to expose the port and mount a volume to expose the API and persist state.
To check that your client is serving REST API calls once running, open a browser at
http://localhost:8001/api/v1/chain/tips(default port is specified in the
The Application has 4 default profiles.
Switch between profiles by altering the value
resources/application.yml. Profiles can be amended to alter values such as
The profiles represent the networks available to the application.
Note: Docker profiles can also be amended by overriding using environment variables such as those in the