Skip to content

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

Notifications You must be signed in to change notification settings

sai1boat/valheim-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published