Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/5ht2/vintagestory-docker
Minimal Dockerfile (works on arm64 and x86) with accessible config files for Vintage Story
https://github.com/5ht2/vintagestory-docker
docker dockerfile vintagestory
Last synced: about 1 month ago
JSON representation
Minimal Dockerfile (works on arm64 and x86) with accessible config files for Vintage Story
- Host: GitHub
- URL: https://github.com/5ht2/vintagestory-docker
- Owner: 5HT2
- License: isc
- Created: 2022-02-16T09:31:18.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-22T11:41:55.000Z (over 1 year ago)
- Last Synced: 2024-05-20T22:42:22.408Z (7 months ago)
- Topics: docker, dockerfile, vintagestory
- Language: Dockerfile
- Homepage: https://vintagestory.at
- Size: 33.2 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# vintagestory-docker
This Dockerfile and run script are all you need to run a Vintage Story server with no further configuration required.
You do need to ensure your server has port `42420` opened, as Vintage Story requires that.
## Usage
Your `~/.env` should look like so:
```bash
# Edit the path to where you would like vintagestory config files to be saved
export VINTAGESTORY_PATH="$HOME/vintagestory"
```Next, all you need to do in order to run the server is:
```bash
git clone https://github.com/5HT2/vintagestory-docker
cd vintagestory-docker
# Build the image, only required when updating the version
docker build -t vintagestory .
chmod +x run.sh# Run the server. You can run this command again to re-create the server
# in case you edited the config file path, or to forcefully restart it.
./run.sh
```### Updating
This Dockerfile will be kept up to date as Vintage Story updates (feel free to open a pull request if it is not).
Once you've followed the usage instructions and want to apply a new update, just do
```bash
cd vintagestory-docker
git pull
docker build -t vintagestory .
./run.sh
```Or, as an easy to copy oneliner:
```bash
cd vintagestory-docker; git pull; docker build -t vintagestory .; ./run.sh; cd
```### Using an older version
You can use an older version of Vintage Story if needed, by building with the `VERSION` env variable set, eg
```bash
VERSION=1.16.1 docker build -t vintagestory .
```