mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-25 17:36:00 +00:00
Refactor Docker and Kubernetes configurations to update Redis volume mapping and constraints for Docmost service
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`nginx.traefik.local`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-main
|
||||
port: 80
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`nginx.traefik.local`) || Host(`traefik.local`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-main
|
||||
port: 80
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`nginx.traefik.local`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-main
|
||||
port: 80
|
||||
- match: Host(`blue.traefik.local`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-blue
|
||||
port: 80
|
||||
- match: Host(`green.traefik.local`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-green
|
||||
port: 80
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`nginx.example.com`) && Headers(`From`, `test@example.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-main
|
||||
port: 80
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`nginx.example.com`) && HeadersRegexp(`From`, `.*example.*`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-main
|
||||
port: 80
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`nginx.example.com`) || (Host(`nginx.example.org`) && Headers(`From`, `main@example.com`))
|
||||
kind: Rule
|
||||
services:
|
||||
- name: nginx-deploy-main
|
||||
port: 80
|
||||
Reference in New Issue
Block a user