Coder Social home page Coder Social logo

docker-vrising's Introduction

docker-vrising

Minimal Ubuntu 22.04 container with wine and dotnet packages
Goal is to run a dedicated game server.
In this case: a V-Rising dedicated server
Refer to https://github.com/StunlockStudios/vrising-dedicated-server-instructions for json configuration settings.

Trueosiris Rules Docker Pulls Docker Stars Docker Image Size Github stars Github forks Github issues Github last-commit

setup

  • Configuration settings are still those in /path/on/host/dedicatedserverfiles/VRisingServer_Data/StreamingAssets/Settings
    so NOT those in /persistentdata.

  • If you forward ports, you can only use direct connect.
    If you want to see the server in the server list and want to use 27015-27016/UDP for example,
    you'll need to change the ports in the ServerHostSettings.json file to 27015 and 27016.
    And then just expose ports

    -p 27015:27015/udp
    -p 27016:27016/udp

  • If you want to continue from your local game, stop the container, overwrite the persistentdata
    contents, and relaunch the server.
    -- I have chmod 777 that folder on my dockerhost.
    -- I can access my docker volumes via samba, so I was able to copy those files via windows.

environment variables

Environment Variable Key Description
TZ Europe/Brussels timezone for ntpdate
SERVERNAME published servername mandatory setting that overrules the ServerHostSettings.json entry
WORLDNAME optional worldname default = world1. No real need to alter this. saves will be in a subdir WORLDNAME

ports

Exposed Container port Type
9876 UDP
9877 UDP

volumes

Volume Container path Description
steam install path /mnt/vrising/server path to hold the dedicated server files
world /mnt/vrising/persistentdata path that holds the world files

docker cli

docker run -d --name='vrising' \
--net='bridge' \
-e TZ="Europe/Paris" \
-e SERVERNAME="trueosiris-V" \
-v '/path/on/host/dedicatedserverfiles':'/mnt/vrising/server':'rw' \
-v '/path/on/host/persistentdata':'/mnt/vrising/persistentdata':'rw' \
-p 9876:9876/udp \
-p 9877:9877/udp \
'trueosiris/vrising'

docker-compose.yml

version: '3.3'
services:
  vrising:
    container_name: vrising
    image: trueosiris/vrising
    network_mode: bridge
    environment:
      - TZ=Europe/Paris
      - SERVERNAME=vrisingDocker
    volumes:
      - './server:/mnt/vrising/server:rw'
      - './data:/mnt/vrising/persistentdata:rw'
    ports:
      - '9876/udp:9876/udp'
      - '9877/udp:9877/udp'

links

github repo: https://github.com/TrueOsiris/docker-vrising
dockerhub repo: https://hub.docker.com/repository/docker/trueosiris/vrising

docker-vrising's People

Contributors

trueosiris avatar mattiasghodsian avatar jbpasquier avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.