summaryrefslogtreecommitdiff
path: root/playbooks.d/k3s-master/manifests/applications/edephas.tyil.net/public-services/searx/deployment.yaml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-10-06 14:06:23 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-10-06 14:12:18 +0200
commit1116a2ff4adb52cb8a9a7017095e29cc6caf0713 (patch)
tree1a8d48bca86add3ca042f7364bb5deffdd6fe474 /playbooks.d/k3s-master/manifests/applications/edephas.tyil.net/public-services/searx/deployment.yaml
parent6078b12b26a039410c67b6d541aeb69f81eaecf4 (diff)
Place manifests directly into playbook dir
Diffstat (limited to 'playbooks.d/k3s-master/manifests/applications/edephas.tyil.net/public-services/searx/deployment.yaml')
-rw-r--r--playbooks.d/k3s-master/manifests/applications/edephas.tyil.net/public-services/searx/deployment.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/playbooks.d/k3s-master/manifests/applications/edephas.tyil.net/public-services/searx/deployment.yaml b/playbooks.d/k3s-master/manifests/applications/edephas.tyil.net/public-services/searx/deployment.yaml
new file mode 100644
index 0000000..7bfb6cc
--- /dev/null
+++ b/playbooks.d/k3s-master/manifests/applications/edephas.tyil.net/public-services/searx/deployment.yaml
@@ -0,0 +1,54 @@
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: searx
+ namespace: public-services
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: searx
+ app.kubernetes.io/part-of: public-services
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/created-by: tyil
+ app.kubernetes.io/managed-by: manual
+ app.kubernetes.io/name: searx
+ app.kubernetes.io/part-of: public-services
+ spec:
+ containers:
+ - name: searx
+ image: searx/searx:latest
+ ports:
+ - containerPort: 8080
+ env:
+ - name: BIND_ADDRESS
+ value: "0.0.0.0:8080"
+ - name: BASE_URL
+ value: "https://searx.tyil.nl"
+ volumeMounts:
+ - name: srv
+ subPath: config
+ mountPath: /etc/searx
+ - name: filtron
+ image: dalf/filtron
+ args: [
+ "-listen", "0.0.0.0:4040",
+ "-target", "searx:8080",
+ ]
+ ports:
+ - containerPort: 4040
+ volumeMounts:
+ - name: srv
+ subPath: rules.json
+ mountPath: /etc/filtron/rules.json
+ volumes:
+ - name: srv
+ hostPath:
+ type: Directory
+ path: /srv/searx
+...