Giter Club home page Giter Club logo

empyrion-docker's Introduction

empyrion-server

Docker image for the Empyrion dedicated server with Reforged Eden using WINE

The image itself contains WINE and steamcmd, along with an entrypoint.sh script that bootstraps the Empyrion dedicated server install via steamcmd.

When running the image, it will mount the volume /home/user/Steam to persist the Empyrion install and avoid downloading it on each container start.

The configuration files will be under gamedir/steamapps/common/Empyrion - Dedicated Server

Starting Commands:

cd empyrion-docker
docker build -t empyrion-dedicated-server .
mkdir -p gamedir
docker run -di --name emp -p 30000:30000/udp -p 30001:30001/udp --restart unless-stopped -v $PWD/gamedir:/home/user/Steam empyrion-dedicated-server
# for experimental version:
cd empyrion-docker
docker build -t empyrion-dedicated-server .
mkdir -p gamedir_beta
docker run -di --name emp -p 30000:30000/udp -p 30001:30001/udp --restart unless-stopped -v $PWD/gamedir_beta:/home/user/Steam -e BETA=1 empyrion-dedicated-server

After first run you can use:

docker start emp
docker stop emp

to control the server

To view the logs in real time you can:

docker logs -f emp

The server will take a LONG time to start on the first run. It has to download steam and the Reforged Eden files. (expect 15-30 minutes)

If you want to update Reforged Eden then use touch update in the gamedir/steamapps/common/Empyrion - Dedicated Server and restart the server. This will cause it to do a git update and pull any updated files.

After starting the server, you can edit the dedicated_custom.yaml file at 'gamedir/steamapps/common/Empyrion - Dedicated Server/dedicated_custom.yaml'. You'll need to restart the docker container after editing.

If you want to pick Reforged Eden 1 and not Reforged Eden 2 then edit the dedicated_custom.yaml before the first start and uncomment the Reforged Eden 1 section and comment out the Reforged Eden 2 section

# Pick one and uncomment/comment the other  
GameConfig:
  GameName: Reforged Eden 2
  Mode: Survival
  Seed: 1011345
  CustomScenario: Reforged Eden 2
  
#GameConfig:
#  GameName: Reforged Eden
#  Mode: Survival
#  Seed: 1011345
#  CustomScenario: Reforged Eden

The DedicatedServer folder has been symlinked to /server, so that you can refer to saves with z:/server/Saves (for instance the save called The_Game):

# cp -r /..../Saves/Games/The_Game 'gamedir/steamapps/common/Empyrion - Dedicated Server/Saves/Games/'
# you might want a symlink for games: ln -s 'gamedir/steamapps/common/Empyrion - Dedicated Server/Saves/Games'
docker run -di --name emp -p 30000:30000/udp -p 30001:30001/udp --restart unless-stopped -v $PWD/gamedir:/home/user/Steam bitr/empyrion-server -dedicated 'z:/server/Saves/Games/The_Game/dedicated.yaml'

To append arguments to the steamcmd command, use -e "STEAMCMD=...". Example: -e "STEAMCMD=+runscript /home/user/Steam/addmods.txt".

For more information about the dedicated server itself, refer to the wiki.

empyrion-docker's People

Contributors

dastormbringer avatar xsevithx avatar bitr avatar tylerwhall avatar

Stargazers

 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.