Skip to content

BitcreditProtocol/chorus-relay-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chorus-relay-deployment

Docker build and configuration for the Chorus relay

Build with docker

docker build -t bitcredit-chorus-relay .

For testing build and run with docker compose

# just run it
docker compose up

# build or rebuild it
docker compose build --no-cache

Adding users

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.

How the hell do I get my npubs hexkey

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/.

TODO

  • add GH action variables and trigger on push/merge
  • add developer users
  • dynamically add users without deploy

About

Docker build and configuration for the Chorus relay

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published