docs: add block common exploits and oauth middleware
This commit is contained in:
@@ -3,13 +3,13 @@ services:
|
||||
image: jkaninda/goma-gateway
|
||||
command: server
|
||||
healthcheck:
|
||||
test: curl -f http://localhost/readyz || exit 1
|
||||
test: curl -f http://localhost:8080/health/live || exit 1
|
||||
interval: 30s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
timeout: 10s
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "80:8080"
|
||||
- "443:8443"
|
||||
volumes:
|
||||
- ./config:/config/
|
||||
- ./config:/etc/goma/
|
||||
|
||||
@@ -20,24 +20,24 @@ spec:
|
||||
memory: "128Mi"
|
||||
cpu: "200m"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- containerPort: 8080
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health/live
|
||||
port: 80
|
||||
port: 8080
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health/live
|
||||
port: 80
|
||||
port: 8080
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 40
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 10
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config/
|
||||
mountPath: /etc/goma/
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
|
||||
Reference in New Issue
Block a user