Skip to content

Instantly share code, notes, and snippets.

@wilsonianb
Created August 21, 2020 01:19
Show Gist options
  • Save wilsonianb/b5b8944fb5756ddafe7a631dd2d09f93 to your computer and use it in GitHub Desktop.
Save wilsonianb/b5b8944fb5756ddafe7a631dd2d09f93 to your computer and use it in GitHub Desktop.
{
"spec": {
"containers": [
{
"name": "app",
"image": "nginx@sha256:3e2ffcf0edca2a4e9b24ca442d227baea7b7f0e33ad654ef1eb806fbd9bedcf0",
"command": [
"nginx",
"-g",
"daemon off;"
],
"readinessProbe": {
"httpGet": {
"path": "/",
"port": 80
},
"failureThreshold": 10
}
},
{
"name": "web-monetization-proxy",
"image": "wilsonianbcoil/web-monetization-proxy",
"env": [
{
"name": "PROXY_PORT",
"value": "8080"
},
{
"name": "BACKEND_PORT",
"value": "80"
},
{
"name": "PAYMENT_POINTER",
"valueFrom": {
"secretKeyRef": {
"key": "PAYMENT_POINTER"
}
}
},
{
"name": "RECEIPT_SUBMISSION_URL",
"value": "https://preview.suidoc.net/balances/:creditReceipt"
}
]
}
],
"port": 8080
},
"secretData": {
"nonce": "123456789abcdef",
"PAYMENT_POINTER": "$preview.suidoc.net"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment