Ingress play
This commit is contained in:
parent
2f4eacb9ed
commit
e6eb739475
@ -22,7 +22,7 @@ spec:
|
||||
cpu: "1000m"
|
||||
env:
|
||||
- name: BASE_URL
|
||||
value: http://10.0.2.6:30314
|
||||
value: https://searxng.roxedus.com
|
||||
- name: INSTANCE_NAME
|
||||
value: Roxedus.com
|
||||
envFrom:
|
||||
@ -49,13 +49,28 @@ kind: Service
|
||||
metadata:
|
||||
name: searxng
|
||||
spec:
|
||||
type: NodePort
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: searxng
|
||||
ports:
|
||||
- port: 8080
|
||||
targetPort: 8080
|
||||
nodePort: 30314
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: searxng
|
||||
namespace: searxng
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`searxng.roxedus.com`)
|
||||
priority: 10
|
||||
services:
|
||||
- name: searxng
|
||||
port: 8080
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
|
@ -1,15 +0,0 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
annotations:
|
||||
name: traefik-dash
|
||||
namespace: traefik
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`traefik.roxedus.com`) && ( PathPrefix(`/dashboard`) || PathPrefix(`/api`))
|
||||
services:
|
||||
- kind: TraefikService
|
||||
name: api@internal
|
Loading…
Reference in New Issue
Block a user