48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
apiVersion: yggdrasil.snarfnet.net/v1alpha1
|
|
kind: GameSeed
|
|
metadata:
|
|
name: valheim
|
|
displayName: "Valheim Dedicated Server"
|
|
version: "1.0.0"
|
|
spec:
|
|
game:
|
|
appId: 896660
|
|
branch: public
|
|
autoUpdate: true
|
|
server:
|
|
name: "SnarfNet Valheim Valhalla"
|
|
worldName: "Snarfheim"
|
|
passwordSecret: "VALHEIM_SERVER_PASSWORD"
|
|
crossplay: true
|
|
maxPlayers: 10
|
|
saveDirectory: "/opt/game-servers/valheim/worlds"
|
|
network:
|
|
ip: "140.44.44.80"
|
|
ports:
|
|
- port: 2456
|
|
protocol: UDP
|
|
description: "Game Traffic Port"
|
|
- port: 2457
|
|
protocol: UDP
|
|
description: "Steam Query Port"
|
|
resources:
|
|
cpuLimit: "6"
|
|
memoryLimit: "8Gi"
|
|
memoryReservation: "4Gi"
|
|
runtime:
|
|
image: "lloesche/valheim-server:latest"
|
|
restartPolicy: unless-stopped
|
|
environment:
|
|
SERVER_NAME: "SnarfNet Valheim Valhalla"
|
|
WORLD_NAME: "Snarfheim"
|
|
SERVER_PORT: 2456
|
|
SERVER_PUBLIC: 1
|
|
CROSSPLAY: "true"
|
|
UPDATE_CRON: "0 5 * * *"
|
|
BEPINEX: "false"
|
|
backup:
|
|
schedule: "0 4 * * *"
|
|
retentionDays: 14
|
|
targetPath: "/mnt/nas/game-backups/valheim"
|
|
|