Skip to content

Commit 4cb4122

Browse files
authored
Merge pull request #62 from kun-codes/chore/docker-add-jwt-key-creation-instructions
chore/docker add jwt key creation instructions
2 parents f31c6ab + 98630d7 commit 4cb4122

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ services:
2626
- PRODUCTION=true
2727
- DATABASE_URL=sqlite+aiosqlite:///./data/ferron.db
2828
- DATABASE_ECHO=false
29-
- AUTH_SECRET_KEY=change-this-secret-key
30-
- AUTH_REFRESH_SECRET_KEY=change-this-refresh-secret-key
29+
- AUTH_SECRET_KEY=change-this-secret-key # use `openssl rand -hex 32` to generate
30+
- AUTH_REFRESH_SECRET_KEY=change-this-refresh-secret-key # use `openssl rand -hex 32` to generate. Keep it different from AUTH_SECRET_KEY
3131
- AUTH_SIGNUP_DISABLED=false # change this to true to disable new signups
3232
- FERRON_CONTAINER_NAME=ferron # change this if you changed the container name of ferron service
3333
restart: always

0 commit comments

Comments
 (0)