docs: add block common exploits and oauth middleware

This commit is contained in:
2024-11-08 19:34:28 +01:00
parent 2012ac69a3
commit d4de147524
7 changed files with 98 additions and 33 deletions

View File

@@ -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/

View File

@@ -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: