Add Stardew
This commit is contained in:
33
apps/stardew/deployment.yaml
Normal file
33
apps/stardew/deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: stardew-server
|
||||
namespace: stardew
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: stardew
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: stardew
|
||||
spec:
|
||||
containers:
|
||||
- name: stardew-server
|
||||
image: stardew-valley-dedicated-server/server:latest # Prüfe das offizielle Image-Tag
|
||||
env:
|
||||
- name: SERVER_NAME
|
||||
value: "Mein Homelab Server"
|
||||
- name: PASSWORD
|
||||
value: "DeinPasswort123"
|
||||
ports:
|
||||
- containerPort: 24642
|
||||
protocol: UDP
|
||||
volumeMounts:
|
||||
- name: stardew-storage
|
||||
mountPath: /config # Standardpfad im Container
|
||||
volumes:
|
||||
- name: stardew-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: stardew-data
|
||||
Reference in New Issue
Block a user