Common 4.0 App Refactor Part 7 - Stavos

This commit is contained in:
Stavros Kois
2021-05-23 18:26:23 +02:00
committed by kjeld Schouten-Lebbing
parent ad4a2ae785
commit 69f3be4e6b
22 changed files with 89 additions and 139 deletions
@@ -74,7 +74,6 @@ questions:
schema:
type: int
default: 568
- variable: PGID
label: "PGID"
description: "Sets the PGID env var for LinuxServer.io (compatible) containers"
@@ -61,13 +61,13 @@ questions:
schema:
type: dict
attrs:
- variable: timezone
label: "Timezone"
schema:
type: string
default: "Etc/UTC"
$ref:
- "definitions/timezone"
- variable: timezone
label: "Timezone"
schema:
type: string
default: "Etc/UTC"
$ref:
- "definitions/timezone"
- variable: PUID
label: "PUID"
description: "Sets the PUID env var for LinuxServer.io (compatible) containers"
+3 -5
View File
@@ -9,12 +9,10 @@ image:
tag: 6.1.71
pullPolicy: IfNotPresent
envTpl:
# Permissions Settings
UNIFI_GID: "568"
UNIFI_UID: "568"
# Permissions Settings
UNIFI_GID: "{ { .env.PUID } }"
UNIFI_UID: "{ { .env.PGID } }"
##
# Most other defaults are set in questions.yaml
# For other options please refer to the wiki, default_values.yaml or the common library chart
+6 -6
View File
@@ -9,9 +9,9 @@ strategy:
type: Recreate
envTpl:
# Permissions Settings
UNIFI_GID: "568"
UNIFI_UID: "568"
# Permissions Settings
UNIFI_GID: "{ { .env.PUID } }"
UNIFI_UID: "{ { .env.PGID } }"
service:
main:
@@ -35,10 +35,10 @@ service:
port: 3478
protocol: UDP
env: {}
env:
# TZ:
# PUID:
# PGID:
PUID: "568"
PGID: "568"
persistence:
config: