mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-07-27 08:10:23 +08:00
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://github.com/strapi/strapi
|
||||
- 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:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
@@ -91,9 +91,20 @@ questions:
|
||||
type: dict
|
||||
attrs:
|
||||
# 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
|
||||
label: "Extra Args (Leave empty for default)"
|
||||
description: "pass extra args to the strapi new"
|
||||
description: "Pass extra args to the strapi new"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
@@ -17,6 +17,7 @@ env:
|
||||
DATABASE_PORT: 5432
|
||||
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||
NODE_ENV: "production"
|
||||
EXTRA_ARGS: ""
|
||||
|
||||
envValueFrom:
|
||||
Reference in New Issue
Block a user