mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
Add nginx-letsencrypt-pvc to proxy manager
This commit is contained in:
@@ -12,6 +12,20 @@ spec:
|
||||
storage: 5Gi
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
namespace: home-apps
|
||||
name: nginx-letsencrypt-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: nfs-client
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
---
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -48,6 +62,8 @@ spec:
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: "/data"
|
||||
- name: nginx-letsencrypt-pvc
|
||||
mountPath: "/etc/letsencrypt"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 200m
|
||||
@@ -59,6 +75,9 @@ spec:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: nginx-proxy-pvc
|
||||
- name: nginx-letsencrypt-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: nginx-letsencrypt-pvc
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user