docs: docker secrets

This commit is contained in:
Josh Thorpe
2024-01-09 21:29:27 +08:00
committed by GitHub
parent 2729b69607
commit 3c1bd2f9af

View File

@@ -36,6 +36,17 @@ When contributing please ensure to log a pull request on the `unstable` branch
Check out our dockerhub to run Jellystat:
https://hub.docker.com/r/cyfershepard/jellystat
### Environment variables from files (Docker secrets)
You can set any environment variable from a file by using the prefix `FILE__`
As an example:
```yaml
jellystat:
environment:
FILE__MYVAR: /run/secrets/MYSECRETFILE
```
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/MYSECRETFILE` file. see [docker secrets](https://docs.docker.com/compose/use-secrets/) for more info.
## Screenshots
<img src="./screenshots/Home.PNG">