feat: add server handle both HTTP and HTTPS

This commit is contained in:
2024-11-05 20:11:24 +01:00
parent e2fb3dff1b
commit 28931ca306
9 changed files with 56 additions and 35 deletions

View File

@@ -10,5 +10,6 @@ services:
timeout: 10s
ports:
- "80:80"
- "443:443"
volumes:
- ./config:/config/

View File

@@ -23,14 +23,14 @@ spec:
- containerPort: 80
livenessProbe:
httpGet:
path: /healthz
path: /health/live
port: 80
initialDelaySeconds: 15
periodSeconds: 30
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /readyz
path: /health/live
port: 80
initialDelaySeconds: 15
periodSeconds: 40