mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 09:48:08 -04:00
78 lines
2.0 KiB
YAML
78 lines
2.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: anubis-docs
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: anubis-docs
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: anubis-docs
|
|
spec:
|
|
volumes:
|
|
- name: anubis
|
|
configMap:
|
|
name: anubis-cfg
|
|
- name: temporary-data
|
|
emptyDir: {}
|
|
containers:
|
|
- name: anubis-docs
|
|
image: ghcr.io/techarohq/anubis/docs:main
|
|
imagePullPolicy: Always
|
|
resources:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
cpu: 250m
|
|
memory: 128Mi
|
|
ports:
|
|
- containerPort: 80
|
|
- name: anubis
|
|
image: ghcr.io/techarohq/anubis:main
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: "BIND"
|
|
value: ":8081"
|
|
- name: "DIFFICULTY"
|
|
value: "4"
|
|
- name: "METRICS_BIND"
|
|
value: ":9090"
|
|
- name: "OG_PASSTHROUGH"
|
|
value: "true"
|
|
- name: "POLICY_FNAME"
|
|
value: "/xe/cfg/anubis/botPolicies.yaml"
|
|
- name: "SERVE_ROBOTS_TXT"
|
|
value: "false"
|
|
- name: "TARGET"
|
|
value: "http://localhost:80"
|
|
# - name: "SLOG_LEVEL"
|
|
# value: "debug"
|
|
volumeMounts:
|
|
- name: anubis
|
|
mountPath: /xe/cfg/anubis
|
|
- name: temporary-data
|
|
mountPath: /xe/data/anubis
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 128Mi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 128Mi
|
|
securityContext:
|
|
runAsUser: 1000
|
|
runAsGroup: 1000
|
|
runAsNonRoot: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
envFrom:
|
|
- secretRef:
|
|
name: anubis-docs-thoth
|