Jump to content

Docker container for vintage story server (linux console) (VDS)


BarenAD

Recommended Posts

Hello everybody! I share my practices, which may be useful. My task was to assemble a minimal image (on alpine, this is in progress, the vanilla server is working, but there are problems with some mods), as well as all kinds of automation (automatic backups of the world, installation and updating: servers, containers, mods (as much as it can be simplified))

See the full instructions of your choice and stay tuned on the GitHub repository page!

The image is uploaded to the repository, you don't have to build it (unless you want to change something.

So far, the container is made on the basis of ubuntu:22.04.

If you encounter any problems or have any other ideas on how to improve it, please report it here!

Required install Docker!

QUICK STARTING

Spoiler

Step 1:

Install VCS (VINTAGE STORY CONTAINER) manager (need wget). See actual version by GitHub Repository!

sudo wget -O /usr/local/bin/vsc_manager https://github.com/BarenAD/docker_vintage_story/releases/download/vsc_manager_1.3.0/vsc_manager && sudo chmod +x /usr/local/bin/vsc_manager

 

image.thumb.png.f6b30e89338086aad3b904b53970ed23.png

Step 2:

download image and start container

vsc_manager container_install

image.thumb.png.26bc01b3dcf7095ae2f81c772e101a8d.png

Step 3:

Choose version. min 1.18.8 (for now). I'll take the latest version as an example. A container on the 'linux' distribution. We need the 'linux' options tar.gz '.

 

image.thumb.png.331376f0057ea063e07224a4d906d337.png

and run:

vsc_manager server_update

image.thumb.png.3aeb3e7d2d90a7738df79135a0ac20ec.png

Step 4:

restart container or server

vsc_manager container_restart

image.thumb.png.285e7e2bee6b1d6fc7a3e586a4c06dc0.png

Step 5:

Done! Checking!

image.thumb.png.9e8e0933a759fe28c6fa4ec31ddb6fb6.png

image.thumb.png.d8b67e00026652bbae4fd4c7aca37b47.png

 

 

 

 CONFIGURATION

Spoiler

Step 1:

Create link to volumes and install MC to server (not in container).

sudo ln -s /var/lib/docker/volumes /root/docker_volumes

Step 2:

Go to path data server and open configuration use editor (i use MC)

su -
cd /root/docker_volumes/vintage_story_server/_data/data/ && mc

Select and press F4 for change

image.png.b9a7cc428cc64685e4c84958dc8194f7.png

 

I changed welcome message

image.png.475f58f998a77f2cb8dc6531add84f81.png

 

Step 3:

Restart container

vsc_manager container_restart

Step 4:

Done, checking...

image.png.c90c7e868f943f88f11df4050601267b.png

 

 

 INSTALL MODS

Spoiler

Step 1:

Choose mod here

For example taken this (copy download link archive)

image.thumb.png.f0f354a60a68384b9e15245e53449b6f.png

Step 2:

vsc_manager server_mod_install

Manager checking on exist file and remove after alert old version. 

image.thumb.png.4816a329361fe5a03ef52d173e1c391b.png

Step 3:

Restart container

vsc_manager container_restart

Step 4:

Done. Checking!

image.thumb.png.38f5f865d866a4a36689a51fcda4702b.png

image.thumb.png.0992b9ab4e397042867940c4e7253d0d.png

 

image.thumb.png.8005ed49b6b408d0bdc8c3099922ed18.png

 

 

 BACKUPS

Spoiler

They are automatically created every day at 00:00. But you can make a backup immediately. 

IMMEDIATE BACKUP:

(example for real server, the size of the world is big there :) )

(My script compresses backups by default. See the difference)

vsc_manager server_backup

image.png.f3ab0b12b19c8a84886a26d186d5844e.png

 

Edited by BarenAD
update link for vsc_manager.
Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.