-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update security-txt service rule in docker-compose.yml
- Loading branch information
Showing
4 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,21 @@ | ||
# security.txt | ||
Takes an Email-Address (or any other string) and serves it under /security.txt (RFC 5785) as plain text. | ||
|
||
# Usage | ||
## Portainer - Repository | ||
Use this repo via git in Portainer directly. | ||
Just add the following URL to your stack: | ||
```https://github.com/Utesgui/security.txt``` | ||
As well as a environment variable: | ||
```SECURITY_STRING=something``` | ||
If necessary, you can also change the path the file is served | ||
```PATH=/betterpath.json``` -> default is /security.txt | ||
 | ||
|
||
## Docker-Compose | ||
Use the docker-compose.yml file and change it to your liking. | ||
Then use `docker-compose up -d` to start the container or Portainer to deploy the stack. | ||
|
||
# Variables | ||
- ```SECURITY_STRING```: The string that should be served under /security.txt | ||
- ```PATH```: The path the file is served under. Default is /security.txt |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters