stardew-multiplayer-docker/README.md

41 lines
1.1 KiB
Markdown
Raw Normal View History

2019-04-09 17:02:27 +00:00
# Stardew Valley Multiplayer Docker Compose
This project aims to autostart a Stardew Valley Multiplayer Server as easy as possible.
2019-04-13 00:29:00 +00:00
## Setup
### Docker-Compose
2019-04-09 17:04:45 +00:00
```
2019-04-09 17:02:27 +00:00
git clone https://github.com/printfuck/stardew-multiplayer-docker
docker-compose up
2019-04-09 17:04:45 +00:00
```
2019-04-13 00:29:00 +00:00
### Ansible
Create an inventory file with your hosts
```
ansible -i <your_inventori> playbook.yml
```
### Terraform (with Hetzner Cloud)
Enter your API Token in `terraform/vars.auto.tfvars` and run the following script:
```
./terra.sh
```
## Game Setup
2019-04-09 17:02:27 +00:00
2019-04-12 21:39:04 +00:00
Intially you have to create or load a game once after first startup. After that the Autoload Mod jump starts into the previously loaded savegame everytime you rerun the container. You can also edit the config file of the Autoload Mod to archieve similar behaviour.
## How it works
2019-04-09 17:02:27 +00:00
2019-04-09 17:04:45 +00:00
The game, the modloader (SMAPI), and the "Always On" Mod is pulled from my servers to minimize version conflicts. Afterwards everything will be unpacked into the right places. In the end of the init script the game will be started inside Xvfb.
2019-04-12 21:39:04 +00:00
## Why Docker
This should be simple and easily deployable, so there are only a few options.