blob: ff93f1281896f936b21a5860b0601b064f45d63d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
nfs:
server: 10.57.100.7
path: /srv/searx
...
|