add jwt code
This commit is contained in:
@@ -128,6 +128,7 @@ Although personally I feel that using the docker container is the best way of us
|
|||||||
|
|
||||||
| Name | Description | Default |
|
| 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) |
|
| PORT | Change the internal port of the application. If you change this you might have to change your docker configuration as well | (empty) |
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ services:
|
|||||||
image: akhilrex/hammond
|
image: akhilrex/hammond
|
||||||
container_name: hammond
|
container_name: hammond
|
||||||
environment:
|
environment:
|
||||||
- CHECK_FREQUENCY=240
|
- JWT_SECRET = somethingverystrong
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/config:/config
|
- /path/to/config:/config
|
||||||
- /path/to/data:/assets
|
- /path/to/data:/assets
|
||||||
|
|||||||
Reference in New Issue
Block a user