🤏So close to setting up my own paid public #relay. I just can't figure out how to configure the secret environment variable. Anyone put there can help?🙏🙏🙏🙏
#bitcoin #plebchain #grownostr #nostream #LightningNetwork

🤏So close to setting up my own paid public #relay. I just can't figure out how to configure the secret environment variable. Anyone put there can help?🙏🙏🙏🙏
#bitcoin #plebchain #grownostr #nostream #LightningNetwork

Sure thing I can help you out.
- Generate a long random secret using `openssl rand -hex 128`
- Create a local.env file within the nostream project folder.
- I have two variables set there ZEBEDEE_API_KEY=replacewithyourapikey and SECRET=yoursecret (Not sure if secret needs to be set here, but I have it in here too)
- I also updated the SECRET environment variable in the docker-compose.yml with the same value
- Do ./scripts/stop from the Nostream folder and then ./scripts/start
Omg I'm going to message you in a minute. I think you will be able to help me.
Sure! Happy to help.
Also to add for anyone else reading - update your docker-compose.yml file and add the following so that docker compose knows that you have an environment variable. Do this before stopping and starting your instance of nostream.
env_file:
- local.env