Docker build and configuration for the Chorus relay
docker build -t bitcredit-chorus-relay .
# just run it
docker compose up
# build or rebuild it
docker compose build --no-cache
This relay requires a static configuration with all white listed users. The
config.toml
file allows adding users by just adding their hex encoded npub
to the user_hex_keys
list. The process needs to be restarted after a
configuration change.
For now a push to the master branch of this repository should trigger a redeploy and therefor a configuration update.
After you crated an identity you can lookup the Nostr npub from the get identity endpoint. The easiest way to convert it to hex format is using an online converter like: https://lightningk0ala.github.io/nostr-wtf/.
- add GH action variables and trigger on push/merge
- add developer users
- dynamically add users without deploy