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
# code to load the JWT token in PowerShell | |
# Call teh Get-JWTToken method with the App ID and the App Private Key (normal string from env var or file contents, make sure there is no extra line ending at the end of it!). | |
function Build-Payload { | |
Param ( | |
[string] $app_id | |
) | |
$iat = [Math]::Floor([decimal](Get-Date(Get-Date) -UFormat %s)) | |
$payload = @{ | |
"iat" = [int]$iat # issues at = now |
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
version: "2" | |
services: | |
rsyslog: | |
image: jumanjiman/rsyslog | |
proxy: | |
image: haproxy | |
volumes: | |
- ./:/cfg | |
volumes_from: | |
- rsyslog |