120 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			120 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| calibre-web-automated:
 | |
|   controllers:
 | |
|     main:
 | |
|       type: deployment
 | |
|       replicas: 1
 | |
|       strategy: Recreate
 | |
|       revisionHistoryLimit: 3
 | |
|       containers:
 | |
|         main:
 | |
|           image:
 | |
|             repository: crocodilestick/calibre-web-automated
 | |
|             tag: V3.0.4
 | |
|             pullPolicy: IfNotPresent
 | |
|           env:
 | |
|             - name: TZ
 | |
|               value: US/Central
 | |
|             - name: PUID
 | |
|               value: 1000
 | |
|             - name: PGID
 | |
|               value: 100
 | |
|           resources:
 | |
|             requests:
 | |
|               cpu: 10m
 | |
|               memory: 256Mi
 | |
|     downloader:
 | |
|       type: deployment
 | |
|       replicas: 1
 | |
|       strategy: Recreate
 | |
|       revisionHistoryLimit: 3
 | |
|       containers:
 | |
|         main:
 | |
|           image:
 | |
|             repository: ghcr.io/calibrain/calibre-web-automated-book-downloader
 | |
|             tag: latest@sha256:b68b3d014818fdf358f4a0655c5ba94fc6f58014e664c895f25790ac5b4d0cca
 | |
|             pullPolicy: IfNotPresent
 | |
|           env:
 | |
|             - name: FLASK_PORT
 | |
|               value: 8084
 | |
|             - name: UID
 | |
|               value: 1000
 | |
|             - name: GID
 | |
|               value: 100
 | |
|             - name: USE_CF_BYPASS
 | |
|               value: true
 | |
|             - name: CLOUDFLARE_PROXY_URL
 | |
|               value: http://localhost:8000
 | |
|             - name: INGEST_DIR
 | |
|               value: /cwa-book-ingest
 | |
|             - name: BOOK_LANGUAGE
 | |
|               value: end
 | |
|           resources:
 | |
|             requests:
 | |
|               cpu: 10m
 | |
|               memory: 256Mi
 | |
|         bypass:
 | |
|           image:
 | |
|             repository: ghcr.io/sarperavci/cloudflarebypassforscraping
 | |
|             tag: latest@sha256:9ac4cd4d6d5dfc270a92502b92761d9039297abfb123f4a2a3abca5209d9eec5
 | |
|             pullPolicy: IfNotPresent
 | |
|           resources:
 | |
|             requests:
 | |
|               cpu: 10m
 | |
|               memory: 128Mi
 | |
|   service:
 | |
|     main:
 | |
|       controller: main
 | |
|       ports:
 | |
|         http:
 | |
|           port: 8083
 | |
|           targetPort: 8083
 | |
|           protocol: HTTP
 | |
|     downloader:
 | |
|       controller: downloader
 | |
|       ports:
 | |
|         http:
 | |
|           port: 8084
 | |
|           targetPort: 8084
 | |
|           protocol: HTTP
 | |
|   persistence:
 | |
|     config:
 | |
|       forceRename: calibre-web-automated-config
 | |
|       storageClass: ceph-block
 | |
|       accessMode: ReadWriteOnce
 | |
|       size: 5Gi
 | |
|       retain: true
 | |
|       advancedMounts:
 | |
|         main:
 | |
|           main:
 | |
|             - path: /config
 | |
|               readOnly: false
 | |
|     gmail:
 | |
|       enabled: true
 | |
|       type: secret
 | |
|       name: calibre-web-automated-gmail-config
 | |
|       advancedMounts:
 | |
|         main:
 | |
|           main:
 | |
|             - path: /app/calibre-web/gmail.json
 | |
|               readOnly: true
 | |
|               mountPropagation: None
 | |
|               subPath: gmail.json
 | |
|     books:
 | |
|       existingClaim: calibre-web-automated-nfs-storage
 | |
|       advancedMounts:
 | |
|         main:
 | |
|           main:
 | |
|             - path: /calibre-library
 | |
|               readOnly: false
 | |
|     ingest:
 | |
|       existingClaim: calibre-web-automated-ingest-nfs-storage
 | |
|       advancedMounts:
 | |
|         main:
 | |
|           main:
 | |
|             - path: /cwa-book-ingest
 | |
|               readOnly: false
 | |
|         downloader:
 | |
|           main:
 | |
|             - path: /cwa-book-ingest
 | |
|               readOnly: false
 |