cameri / nostream

A Nostr Relay written in TypeScript
MIT License
741 stars 190 forks source link

fix: add SECRET as env variable to docker-compose setup #298

Closed sroertgen closed 1 year ago

sroertgen commented 1 year ago

This might close #284

Description

The SECRET env variable is mandatory by now, but the README and the docker-compose.yml don't reflect this. People running the service as docker will run into the following error:

web-socket-adapter: unable to handle message: Error: SECRET environment variable not set

This can be fixed setting up a secret and providing it via a .env file in the docker-compose.yml.

Related Issue

284

Motivation and Context

see description

How Has This Been Tested?

I tested it with my own relay. Before I was not able to send events. I did get no error message, but no success or "OK" response as well. Now I am.

Screenshots (if appropriate):

Types of changes

Checklist:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.23.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: