Refactor Docker and Kubernetes configurations to update Redis volume mapping and constraints for Docmost service

This commit is contained in:
2024-08-05 08:29:06 +08:00
parent db36090358
commit ef3cdf6f62
25 changed files with 601 additions and 7 deletions
@@ -0,0 +1,31 @@
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: nginx-add-prefix
spec:
addPrefix:
prefix: /hello
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: nginx
namespace: default
spec:
entryPoints:
- web
routes:
- match: Host(`nginx.example.com`)
kind: Rule
services:
- name: nginx-deploy-main
port: 80
- match: Host(`nginx.example.org`)
kind: Rule
middlewares:
- name: nginx-add-prefix
services:
- name: nginx-deploy-main
port: 80