Choose needed branch on git. (any - all versions, manual install server, check only .NET
version) or (specific version, automatically install)
- Count backups: 5. For change - edit enviroment vairable
VS_BACKUPS_AGE_LIMIT
in container - Frequency backups: every day 00:00. For change - edit enviroment vairable
VS_BACKUP_PERIODICITY
in container
- Docker
- VSC manager (optional)
- Run
vsc_manager container_install
- Run
vsc_manager server_update
- Run
vsc_manager container_restart
- Done! Now you can connect to the server. Or make the settings and install the necessary mods.
- Run
sudo docker run -d --name vintage_story_server -p 42420:42420 --restart=unless-stopped -e TZ=Asia/Novosibirsk -v vintage_story_server:/var/vintage_story barenad/vintage_story_server:any_net_7
(change to suit yourself: -p - server port, -e - TimeZone, see/etc/timezone
) - If you first time run command then run
sudo docker exec -it vintage_story_server vs_server_update <?full_url_download_server_archive_tar>"
ATTENTION! replace full_url_download_server_archive_tar to choose needed version game server url (Linux tar.gz server only) (expand(Show all available downloads and mirrors of Vintage Story)
right mouse button and copy the url link) - Run
sudo docker restart vintage_story_server
- Done! Now you can connect to the server. Or make the settings and install the necessary mods.
- Run
su -
- Run
cd /var/lib/docker/volumes/vintage_story/_data/server
- Run
wget -O server.tar.gz [PASTE_DOWNLOAD_URL]
or download and move archive manual (For example: scp) - Run
tar -xzf server.tar.gz
- Run
chmod +x ./server.sh
- Change
server.sh
parameters:VSPATH='/var/vintage_story/server'
,DATAPATH='/var/vintage_story/data'
To simplify access to the server folders, you can create a link directly from the root directory of the user
- Run
sudo ln -s /var/lib/docker/volumes /root/docker_volumes
- Done! Now you can replace all paths
/var/lib/docker/volumes
->~/docker_volumes
(root user)
- Run
su -
(change to root user) - Run
cd /var/lib/docker/volumes/vintage_story_server/_data
server
- server directory,data
- server data directory
- Run
vsc_manager server_mod_install
- Run
sudo docker exec -it vintage_story_server bash
- Run
cd /var/vintage_story/data/Mods
- Run
wget --content-disposition <full_url_download_mod>
ATTENTION! replace full_url_download_server_archive_tar to choose needed mod (repeat for all mods) - Run
exit
- Restart container
sudo docker restart vintage_story_server
- Run
vsc_manager server_backup
- Run
sudo docker exec -it vintage_story_server vs_backup
- Run
su -
- Run
cd /var/lib/docker/volumes/vintage_story_server/_data/data/Backups
- Run
vsc_manager container_attach
- Run
sudo docker exec -it vintage_story_server bash
- Rename needed archive (remove all ':' from name)
- Run
tar -xvzf archive_name.tar.gz
- Pull or download repository
- Run
build.sh
- Run
start.sh
- If you first started then run
update_server.sh <full_url_download_server_archive_tar>
ATTENTION! replace full_url_download_server_archive_tar to choose needed version game server url (Linux tar.gz server only) (expand(Show all available downloads and mirrors of Vintage Story)
right mouse button and copy the url link)
- Run
attach.sh