55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
apiVersion: yggdrasil.snarfnet.net/v1alpha1
|
|
kind: GameSeed
|
|
metadata:
|
|
name: farming-simulator-25
|
|
displayName: "Farming Simulator 25 Dedicated Server"
|
|
version: "1.0.0"
|
|
spec:
|
|
game:
|
|
appId: 2300320
|
|
branch: public
|
|
autoUpdate: true
|
|
server:
|
|
name: "SnarfNet FS25 Countryside"
|
|
passwordSecret: "FS25_SERVER_PASSWORD"
|
|
adminPasswordSecret: "FS25_ADMIN_PASSWORD"
|
|
maxPlayers: 16
|
|
saveDirectory: "/opt/game-servers/fs25/savegame"
|
|
network:
|
|
ip: "140.44.44.80"
|
|
ports:
|
|
- port: 10823
|
|
protocol: TCP
|
|
description: "Game Client Connection"
|
|
- port: 10823
|
|
protocol: UDP
|
|
description: "Game Network Traffic"
|
|
- port: 8088
|
|
protocol: TCP
|
|
description: "Web Administration Panel"
|
|
- port: 5900
|
|
protocol: TCP
|
|
description: "Wine VNC Desktop"
|
|
resources:
|
|
cpuLimit: "6"
|
|
memoryLimit: "12Gi"
|
|
memoryReservation: "6Gi"
|
|
runtime:
|
|
image: "ghcr.io/nwerosama/farmsim-docker:fs25"
|
|
restartPolicy: unless-stopped
|
|
volumes:
|
|
- "/mnt/storage-games/installers/fs25/iso:/opt/fs25/install:ro"
|
|
- "/opt/game-servers/fs25/dlc:/opt/fs25/dlc:ro"
|
|
- "/opt/game-servers/fs25/docs:/opt/fs25/docs"
|
|
- "/opt/game-servers/fs25/wine:/home/nobody/.fs_server"
|
|
environment:
|
|
SERVER_NAME: "SnarfNet FS25 Countryside"
|
|
GAME_PORT: 10823
|
|
AUTOSTART_ENABLED: "true"
|
|
WEB_PORT: 8088
|
|
backup:
|
|
schedule: "0 4 * * *"
|
|
retentionDays: 14
|
|
targetPath: "/mnt/nas/game-backups/farming-simulator-25"
|
|
|