You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`image.tag`| Specifies container image tag |`latest`|
42
43
43
44
## Persistence
44
45
@@ -51,6 +52,7 @@ You can enable persistence for both the server data (your worlds, mounted at `/c
51
52
Note: If you are deploying to a cloud provider it is highly recommended that you use a PVC powered by a cloud-specific storageClass. Otherwise you risk losing your world.
52
53
53
54
On the node you wish to use make sure the folder you are mounting exists (ideally empty if you are starting a new world). Once you spin up the game pod you should see the following files created:
@@ -64,26 +66,29 @@ Once you have your StorageClass set up, set `storage.kind` to `persistentVolumeC
64
66
65
67
### Using an existing world
66
68
67
-
To use an existing world simply set the `worldName` parameter to the name of your world then save the `.db` and `.fwl` files to the directory mounted into the pod. For example, if your world is named `myworld` then set `worldName: myworld` in your values file (or `--set worldName=myworld`) and assuming you are mounting at `/data/valheim` then your directory should look like:
69
+
To use an existing world simply set the `worldName` parameter to the name of your world then save the `.db` and `.fwl` files to the directory mounted into the pod. For example, if your world is named `myworld` then set `worldName: myworld` in your values file (or `--set worldName=myworld`) and assuming you are mounting at `/data/valheim` then your directory should look like:
70
+
68
71
```bash
69
72
$ ls /data/valheim/worlds/
70
73
myworld.db myworld.fwl
71
74
```
72
75
73
76
## Connecting to your world
74
77
75
-
Assuming you have taken care of the networking (port-forwarding if needed, LoadBalancer IP is created, ...):
76
-
* In the steam UI (NOT IN GAME) go to view->servers->add favorite
77
-
* set the port to 2457 ([reason for that here](https://github.com/lloesche/valheim-server-docker/discussions/32#discussioncomment-371306))
78
-
* To connect double click the server in the steam servers explorer
79
-
* You will be asked for the password in the steam ui and in game
78
+
Assuming you have taken care of the networking (port-forwarding if needed, LoadBalancer IP is created, ...):
79
+
80
+
- In the steam UI (NOT IN GAME) go to view->servers->add favorite
81
+
- set the port to 2457 ([reason for that here](https://github.com/lloesche/valheim-server-docker/discussions/32#discussioncomment-371306))
82
+
- To connect double click the server in the steam servers explorer
83
+
- You will be asked for the password in the steam ui and in game
80
84
81
85
More visual set of instructions [here](https://github.com/mbround18/valheim-docker/discussions/51)
82
86
83
87
## Potential future updates
84
88
85
89
If there is interest I can hash out the following:
86
-
* Cronjob to save backups to s3, blob storage, or minio
87
-
* Then clear up the space in the hostvol/pvc
88
-
* More persistence options, namely for those looking to run this on the cloud
89
-
* I'm familiar with Azure and AWS but I'm sure GCP and others will be fairly simple to figure out if we have testers
90
+
91
+
- Cronjob to save backups to s3, blob storage, or minio
92
+
- Then clear up the space in the hostvol/pvc
93
+
- More persistence options, namely for those looking to run this on the cloud
94
+
- I'm familiar with Azure and AWS but I'm sure GCP and others will be fairly simple to figure out if we have testers
0 commit comments