add themis to docker-compose cluster (#24)

This commit is contained in:
Joel Unzain
2019-12-20 13:24:50 -08:00
committed by GitHub
parent b961250899
commit 0b9c154061
7 changed files with 152 additions and 54 deletions
@@ -54,6 +54,14 @@
eventMap:
default: http://caduceus:6000/api/v3/notify
jwtValidators:
-
keys:
Factory:
uri: "http://themis:6500/keys/{keyId}"
purpose: 0
updateInterval: 604800000000000
service:
defaultScheme: http
consul:
@@ -54,6 +54,14 @@
eventMap:
default: http://caduceus:6000/api/v3/notify
jwtValidators:
-
keys:
Factory:
uri: "http://themis:6500/keys/{keyId}"
purpose: 0
updateInterval: 604800000000000
service:
defaultScheme: http
consul:
@@ -54,6 +54,14 @@
eventMap:
default: http://caduceus:6000/api/v3/notify
jwtValidators:
-
keys:
Factory:
uri: "http://themis:6500/keys/{keyId}"
purpose: 0
updateInterval: 604800000000000
service:
defaultScheme: http
consul:
@@ -0,0 +1,46 @@
---
servers:
key:
address: :6500
issuer:
address: :6501
metrics:
address: :6502
health:
address: :6503
health:
disableLogging: false
custom:
server: "themis"
prometheus:
defaultNamespace: xmidt
defaultSubsystem: themis
token:
alg: RS256
nonce: true
notBeforeDelta: -15s
duration: 2h
claims:
iss:
value: "themis"
trust:
value: 1000
partner-id:
value: "comcast"
capabilities:
value:
- xmidt:issuer:test:.*:all
key:
kid: local
type: rsa
bits: 2048
log:
file: "stdout"
level: "DEBUG"