119 lines
3.0 KiB
YAML
119 lines
3.0 KiB
YAML
ephemera:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/orwellianepilogue/ephemera
|
|
tag: 1.3.1
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: AA_BASE_URL
|
|
value: 8080
|
|
- name: AA_API_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: ephemera-key-secret
|
|
key: key
|
|
- name: FLARESOLVERR_URL
|
|
value: http://127.0.0.1:8191
|
|
- name: LG_BASE_URL
|
|
value: https://gen.com
|
|
- name: PUID
|
|
value: 1000
|
|
- name: PGID
|
|
value: 100
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
exec:
|
|
command:
|
|
- CMD
|
|
- wget
|
|
- --no-verbose
|
|
- --tries=1
|
|
- --spider
|
|
- http://127.0.0.1:8286/health
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 10
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
flaresolverr:
|
|
image:
|
|
repository: ghcr.io/flaresolverr/flaresolverr
|
|
tag: v3.4.5
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: LOG_LEVEL
|
|
value: info
|
|
- name: LOG_HTML
|
|
value: false
|
|
- name: CAPTCHA_SOLVER
|
|
value: none
|
|
- name: TZ
|
|
value: America/Chicago
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
exec:
|
|
command:
|
|
- CMD
|
|
- curl
|
|
- -f
|
|
- http://127.0.0.1:8191/health
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 10
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
service:
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 8286
|
|
protocol: HTTP
|
|
persistence:
|
|
config:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 5Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /app/data
|
|
readOnly: false
|
|
cache:
|
|
type: emptyDir
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /app/downloads
|
|
readOnly: false
|
|
books-import:
|
|
existingClaim: ephemera-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /app/ingest
|
|
readOnly: false
|