fix(valheim): Correctly map ports when changed in the UI (#1921)

* fix(valheim): Correctly map ports when changed in the UI

* remove `-` from service name

* don't use tpl for targetPort

* tpl on `port`

* no tpl on port either

* remove targetPort and document reason
This commit is contained in:
Stavros Kois
2022-02-21 19:41:47 +01:00
committed by GitHub
parent b04c6f2cc2
commit f7264a994c
4 changed files with 19 additions and 25 deletions
+8
View File
@@ -0,0 +1,8 @@
# Installation Notes
Valheim app does not support having different port numbers for `port` and `targetPort`.
Setting `port` will set the same port number to `targetPort` and it's Environmental Variable.
e.g `STATUS_HTTP_PORT`, `SUPERVISOR_HTTP_PORT`, `SERVER_PORT`
Also, services named `valheim1`, `valheim2`, `valheim3`, should be continuous port numbers. eg 2456, 2457, 2458.
You can't skip a number!