fix(valheim) added regex to server pass + clean up the gui (#6440)
* fix(valheim) set min length and fix labels * remove password required
This commit is contained in:
@@ -19,7 +19,7 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/stable/valheim
|
- https://github.com/truecharts/charts/tree/master/charts/stable/valheim
|
||||||
- https://github.com/lloesche/valheim-server-docker
|
- https://github.com/lloesche/valheim-server-docker
|
||||||
- https://hub.docker.com/r/lloesche/valheim-server
|
- https://hub.docker.com/r/lloesche/valheim-server
|
||||||
version: 5.0.11
|
version: 5.0.12
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Valheim app does not support having different port numbers for `port` and `targetPort`.
|
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.
|
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`
|
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.
|
Also, services named `valheim1`, `valheim2`, `valheim3`, should be continuous port numbers. eg 2456, 2457, 2458.
|
||||||
You can't skip a number!
|
You **can't** skip a number!
|
||||||
|
|||||||
@@ -21,25 +21,25 @@ questions:
|
|||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: SUPERVISOR_HTTP_USER
|
- variable: SUPERVISOR_HTTP_USER
|
||||||
label: SUPERVISOR_HTTP_USER
|
label: Supervisor HTTP User
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: admin
|
default: admin
|
||||||
required: true
|
required: true
|
||||||
- variable: SUPERVISOR_HTTP_PASS
|
- variable: SUPERVISOR_HTTP_PASS
|
||||||
label: SUPERVISOR_HTTP_PASS
|
label: Supervisor HTTP Pass
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
private: true
|
private: true
|
||||||
default: REPLACETHIS
|
default: ""
|
||||||
- variable: SERVER_PASS
|
- variable: SERVER_PASS
|
||||||
label: SERVER_PASS
|
label: Server Pass
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
|
||||||
private: true
|
private: true
|
||||||
default: REPLACETHIS
|
default: ""
|
||||||
|
min_length: 5
|
||||||
- variable: env
|
- variable: env
|
||||||
group: App Configuration
|
group: App Configuration
|
||||||
label: Image Environment
|
label: Image Environment
|
||||||
@@ -48,57 +48,57 @@ questions:
|
|||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
- variable: STATUS_HTTP
|
- variable: STATUS_HTTP
|
||||||
label: STATUS_HTTP
|
label: Status HTTP
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
- variable: SUPERVISOR_HTTP
|
- variable: SUPERVISOR_HTTP
|
||||||
label: SUPERVISOR_HTTP
|
label: Supervisor HTTP
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
- variable: SERVER_NAME
|
- variable: SERVER_NAME
|
||||||
label: SERVER_NAME
|
label: Server Name
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: My Server
|
default: My Server
|
||||||
required: true
|
required: true
|
||||||
- variable: WORLD_NAME
|
- variable: WORLD_NAME
|
||||||
label: WORLD_NAME
|
label: World Name
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: Dedicated
|
default: Dedicated
|
||||||
required: true
|
required: true
|
||||||
- variable: SERVER_PUBLIC
|
- variable: SERVER_PUBLIC
|
||||||
label: SERVER_PUBLIC
|
label: Server Public
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
- variable: UPDATE_INTERVAL
|
- variable: UPDATE_INTERVAL
|
||||||
label: UPDATE_INTERVAL
|
label: Update Interval
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 10800
|
default: 10800
|
||||||
required: true
|
required: true
|
||||||
- variable: BACKUPS
|
- variable: BACKUPS
|
||||||
label: BACKUPS
|
label: Backups
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
- variable: BACKUPS_INTERVAL
|
- variable: BACKUPS_INTERVAL
|
||||||
label: BACKUPS_INTERVAL
|
label: Backups Interval
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 43200
|
default: 43200
|
||||||
required: true
|
required: true
|
||||||
- variable: BACKUPS_DIRECTORY
|
- variable: BACKUPS_DIRECTORY
|
||||||
label: BACKUPS_DIRECTORY
|
label: Backups Directory
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: /backups
|
default: /backups
|
||||||
required: true
|
required: true
|
||||||
- variable: BACKUPS_MAX_AGE
|
- variable: BACKUPS_MAX_AGE
|
||||||
label: BACKUPS_MAX_AGE
|
label: Backups Max Age
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 3
|
default: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user