36 lines
755 B
YAML
36 lines
755 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: avorion-server
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: avorion
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: avorion
|
|
spec:
|
|
containers:
|
|
- name: avorion
|
|
image: rfvgyhn/avorion:latest
|
|
ports:
|
|
- containerPort: 27000
|
|
protocol: UDP
|
|
- containerPort: 27000
|
|
protocol: TCP
|
|
- containerPort: 27003
|
|
protocol: UDP
|
|
- containerPort: 27020
|
|
protocol: UDP
|
|
- containerPort: 27021
|
|
protocol: UDP
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /root/.avorion
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: avorion-data
|