add jwt code

This commit is contained in:
Akhil Gupta
2021-05-29 15:44:12 +05:30
parent 09984a6abc
commit 41f41c3282
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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