chore(strapi): Add NODE_ENV on GUI (#1808)
* chore(strapi): Add NODE_ENV on GUI * also move to stable
This commit is contained in:
@@ -24,7 +24,7 @@ sources:
|
|||||||
- https://hub.docker.com/r/strapi/strapi
|
- https://hub.docker.com/r/strapi/strapi
|
||||||
- https://github.com/strapi/strapi
|
- https://github.com/strapi/strapi
|
||||||
- https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/installation/docker.html#creating-a-strapi-project
|
- https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/installation/docker.html#creating-a-strapi-project
|
||||||
version: 0.0.2
|
version: 0.0.3
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
@@ -91,9 +91,20 @@ questions:
|
|||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
# Include{fixedEnv}
|
# Include{fixedEnv}
|
||||||
|
- variable: NODE_ENV
|
||||||
|
label: "Node Environment"
|
||||||
|
description: "Sets Node's Environment"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "production"
|
||||||
|
enum:
|
||||||
|
- value: "production"
|
||||||
|
description: "Production"
|
||||||
|
- value: "develop"
|
||||||
|
description: "Development"
|
||||||
- variable: EXTRA_ARGS
|
- variable: EXTRA_ARGS
|
||||||
label: "Extra Args (Leave empty for default)"
|
label: "Extra Args (Leave empty for default)"
|
||||||
description: "pass extra args to the strapi new"
|
description: "Pass extra args to the strapi new"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
@@ -17,6 +17,7 @@ env:
|
|||||||
DATABASE_PORT: 5432
|
DATABASE_PORT: 5432
|
||||||
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
NODE_ENV: "production"
|
||||||
EXTRA_ARGS: ""
|
EXTRA_ARGS: ""
|
||||||
|
|
||||||
envValueFrom:
|
envValueFrom:
|
||||||
Reference in New Issue
Block a user