Closed crisukbot closed 1 year ago
And how to control the relay through the docker?
I solved the first one, the second one remains
How to control the relay?
Hi, sorry for late reply.
@uandreew
Here is our docker compose configuration
version: '3.3'
services:
relay:
image: interstellarflights/aode-relay:edge
ports:
- "3001:8080"
- "4001:8081"
restart: always
volumes:
- './relay:/opt/aode-relay'
environment:
- HOSTNAME=[your hostname here]
- DEBUG=true
- RESTRICTED_MODE=true
- VALIDATE_SIGNATURES=true
- HTTPS=true
- PRETTY_LOG=false
- PUBLISH_BLOCKS=true
- SOURCE_REPO=https://github.com/Interstellar-Relay-Community/aode-relay
- REPOSITORY_COMMIT_BASE=/tree/
- PROMETHEUS_ADDR=0.0.0.0
- PROMETHEUS_PORT=8081
- API_TOKEN=[REDACTED]
and to control relay, you should have one copy of aode-relay binary in your local machine and
launch aode-relay using following script
#!/bin/bash
export HTTPS=true
export HOSTNAME=[your hostname here]
export API_TOKEN=[REDACTED]
aode-relay $*
and run the script with --help
flag.
It will give you some hints.
Or, you may use android app if you have to manage relay while on the road.
Hi all, I installed this relay via docker but I don't understand how to change these parameters, can you help?