sai1boat / valheim-server

This is a valheim server with easy to use bash commands and containerization with docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy Valheim Server

Requirements:

  • OS: Linux
  • Software: git, docker, bash

Additional information: The world data for your server will be saved on the host in $HOME/valheim_data of the user that invoked sh start.sh. i.e. Your world data is not in the docker container.

How to use:

  1. Clone the repository
    git clone https://github.com/sai1boat/valheim-server.git
  1. Change directory to project root
    cd valheim-server
  1. Customize the start.sh file with your preferred text editor. Change the world name, server name, and password.

  2. Build the docker image. You do this also when you desire to update the server code:

    sudo docker rmi -f valheim

    sudo docker build -t valheim .
  1. Run the following command to start the server
    sh start.sh
  1. You can tail the logs by running this command (control-c to stop):
    sh logs.sh
  1. Run the following comand to stop the server.
    sh stop.sh

About

This is a valheim server with easy to use bash commands and containerization with docker


Languages

Language:Shell 92.0%Language:Dockerfile 8.0%