This commit is contained in:
2026-03-16 09:40:06 +00:00
parent b1589b892c
commit 56e03ea421
2 changed files with 71 additions and 28 deletions

View File

@@ -286,18 +286,47 @@ spec:
name: data
- mountPath: /copy
name: app-ini
containers:
- name: gitea
image: gitea/gitea:1.19
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
- containerPort: 22
- name: http
containerPort: 3000
- name: ssh
containerPort: 22
lifecycle:
postStart:
exec:
command:
- "/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:
- name: USER_UID
value: "1000"
@@ -339,21 +368,14 @@ spec:
name: gitea-user
key: pw
optional: false
livenessProbe:
httpGet:
path: /api/healthz
port: http
initialDelaySeconds: 200
timeoutSeconds: 5
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
volumeMounts:
- mountPath: /data
name: data
- mountPath: /bin/startup.sh
name: startup
subPath: startup.sh
volumes:
- name: data
persistentVolumeClaim:

View File

@@ -211,19 +211,40 @@ spec:
image: linuxserver/jellyfin
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8096
- containerPort: 8920
- containerPort: 7359 #udp
- containerPort: 1900 #udp
#livenessProbe:
# httpGet:
# path: /health
# port: 8096
# #httpHeaders:
# #- name: Custom-Header
# # value: Awesome
# initialDelaySeconds: 30
# periodSeconds: 5
- name: http
containerPort: 8096
- name: https
containerPort: 8920
- name: discovery
containerPort: 7359
protocol: UDP
- name: dlna
containerPort: 1900
protocol: UDP
startupProbe:
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:
- name: PUID
value: "1000"