Closed rozatoo closed 1 year ago
@rozatoo That key is usually generated using mix phx.gen.secret
.
https://hexdocs.pm/phoenix/Mix.Tasks.Phx.Gen.Secret.html
Someone suggested you can also use openssl - did you try that?
openssl rand -base64 48
If this works for you, I should edit the docker-compose.yml comment to be explicit about using the openssl command or the mix phx.gen.secret command.
When I used
openssl rand -base64 32
it did not work but when I used
openssl rand -base64 64
it did
Interesting, I'll update the comment then, thanks for reporting this.
Getting this error when using a secret key below 64 bytes. Since the docker-compose.yml says
You should change this to a random 32 to 64 character string
I believe this is a bugAnother issue I'm having once I set a 64 character string is:
When opening the it shows that the web socket connection is returning 403 Forbidden.
I am using Docker Desktop on Windows