From 41f41c32828a0f3d22c160ba9b9ba02c9594ffc4 Mon Sep 17 00:00:00 2001 From: Akhil Gupta Date: Sat, 29 May 2021 15:44:12 +0530 Subject: [PATCH] add jwt code --- README.md | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 17a6726..5bfceeb 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ Although personally I feel that using the docker container is the best way of us | Name | Description | Default | | ---- | -------------------------------------------------------------------------------------------------------------------------- | ------- | +| JWT_SECRET | The secret used to sign the JWT token. There is a default value but it is important that you change it to something else| A super strong secret that needs to be changed | | PORT | Change the internal port of the application. If you change this you might have to change your docker configuration as well | (empty) | ### Setup diff --git a/docker-compose.yml b/docker-compose.yml index c029931..87e777b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: image: akhilrex/hammond container_name: hammond environment: - - CHECK_FREQUENCY=240 + - JWT_SECRET = somethingverystrong volumes: - /path/to/config:/config - /path/to/data:/assets