33 lines
728 B
YAML
33 lines
728 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: redlib
|
||
|
namespace: redlib
|
||
|
spec:
|
||
|
replicas: 3
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: redlib
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: redlib
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: quay.io/redlib/redlib:latest
|
||
|
name: redlib
|
||
|
ports:
|
||
|
- name: web
|
||
|
containerPort: 80
|
||
|
env:
|
||
|
- name: REDLIB_DEFAULT_SHOW_NSFW
|
||
|
value: "on"
|
||
|
- name: REDLIB_DEFAULT_BLUR_NSFW
|
||
|
value: "off"
|
||
|
- name: REDLIB_DEFAULT_USE_HLS
|
||
|
value: "on"
|
||
|
- name: REDLIB_DEFAULT_HIDE_HLS_NOTIFICATION
|
||
|
value: "off"
|
||
|
- name: ROBOTS_DISABLE_INDEXING
|
||
|
value: "on"
|