.
This commit is contained in:
@@ -286,18 +286,47 @@ spec:
|
|||||||
name: data
|
name: data
|
||||||
- mountPath: /copy
|
- mountPath: /copy
|
||||||
name: app-ini
|
name: app-ini
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
image: gitea/gitea:1.19
|
image: gitea/gitea:1.19
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- name: http
|
||||||
- containerPort: 22
|
containerPort: 3000
|
||||||
|
- name: ssh
|
||||||
|
containerPort: 22
|
||||||
|
|
||||||
lifecycle:
|
lifecycle:
|
||||||
postStart:
|
postStart:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- "/bin/startup.sh"
|
- "/bin/startup.sh"
|
||||||
|
|
||||||
|
startupProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/healthz
|
||||||
|
port: http
|
||||||
|
failureThreshold: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/healthz
|
||||||
|
port: http
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 6
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/healthz
|
||||||
|
port: http
|
||||||
|
periodSeconds: 20
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 6
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: USER_UID
|
- name: USER_UID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
@@ -339,21 +368,14 @@ spec:
|
|||||||
name: gitea-user
|
name: gitea-user
|
||||||
key: pw
|
key: pw
|
||||||
optional: false
|
optional: false
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /api/healthz
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: 200
|
|
||||||
timeoutSeconds: 5
|
|
||||||
periodSeconds: 10
|
|
||||||
successThreshold: 1
|
|
||||||
failureThreshold: 10
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data
|
- mountPath: /data
|
||||||
name: data
|
name: data
|
||||||
- mountPath: /bin/startup.sh
|
- mountPath: /bin/startup.sh
|
||||||
name: startup
|
name: startup
|
||||||
subPath: startup.sh
|
subPath: startup.sh
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
@@ -211,19 +211,40 @@ spec:
|
|||||||
image: linuxserver/jellyfin
|
image: linuxserver/jellyfin
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8096
|
- name: http
|
||||||
- containerPort: 8920
|
containerPort: 8096
|
||||||
- containerPort: 7359 #udp
|
- name: https
|
||||||
- containerPort: 1900 #udp
|
containerPort: 8920
|
||||||
#livenessProbe:
|
- name: discovery
|
||||||
# httpGet:
|
containerPort: 7359
|
||||||
# path: /health
|
protocol: UDP
|
||||||
# port: 8096
|
- name: dlna
|
||||||
# #httpHeaders:
|
containerPort: 1900
|
||||||
# #- name: Custom-Header
|
protocol: UDP
|
||||||
# # value: Awesome
|
|
||||||
# initialDelaySeconds: 30
|
startupProbe:
|
||||||
# periodSeconds: 5
|
httpGet:
|
||||||
|
path: /health
|
||||||
|
port: http
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 30
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /health
|
||||||
|
port: http
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 6
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /health
|
||||||
|
port: http
|
||||||
|
periodSeconds: 20
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 6
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
|
|||||||
Reference in New Issue
Block a user