chore: Fix sample code to remove the deprecated LOM, and add JWT secrets

This commit is contained in:
Tera << 8 2025-03-18 20:51:01 -04:00
parent 1cefe64f88
commit 71d53990de
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
3 changed files with 3 additions and 20 deletions

View file

@ -32,7 +32,7 @@
1. Copy and change the default password (or username & db name too) from the template file `prod-docker.env`:
```bash
sed "s/POSTGRES_PASSWORD=hermes/POSTGRES_PASSWORD=$(head -c 500 /dev/random | sha512sum | cut -d " " -f 1)/g" prod-docker.env > .env
sed -e "s/POSTGRES_PASSWORD=hermes/POSTGRES_PASSWORD=$(head -c 500 /dev/random | sha512sum | cut -d " " -f 1)/g" -e "s/JWT_SECRET=hermes/JWT_SECRET=$(head -c 500 /dev/random | sha512sum | cut -d " " -f 1)/g" prod-docker.env > .env
```
2. Build the docker stack: `docker compose --env-file .env up -d`