TrueNAS Variables
Values Example File values.yaml
โ
replicaCount: 1
image:
repository: ghcr.io/rargames/4gaboards
pullPolicy: Always
tag: "latest"
imagePullSecrets: []
nameOverride: "app-4gaboards"
fullnameOverride: "app-4gaboards"
podAnnotations: {}
podSecurityContext: {}
securityContext: {}
service:
type: ClusterIP
port: 1337
ingress:
enabled: false
className: ""
annotations: {}
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
tls: []
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 200m
memory: 200Mi
nodeSelector: {}
tolerations: []
affinity: {}
autoscaling:
enabled: false
serviceAccount:
create: false
postgresql:
enabled: true
auth:
database: "4gaBoards"
username: "boards-user"
password: "notpassword"
postgresPassword: "adminPassword"
postgresUrl: <URL> #Set only if using external postgres and postgresql.enabled: false
volumePermissions:
enabled: true
env:
required:
SECRET_KEY: notsecretkey
BASE_URL: http://localhost:80
optional:
CLIENT_URL: http://localhost:80
# Add optional 4ga Boards instance variables here
pv:
storageClass: standard
useravatars:
pvcname: user-avatars
size: 5Gi
projectbackgroundimages:
pvcname: project-background-images
size: 5Gi
attachments:
pvcname: attachments
size: 5Gi
Additional Values For TrueNAS Example File values.truenas.yaml
โ
service:
type: NodePort
nodePort: 30001
port: 1337
deploymentPort: 30001
nodeName: ix-truenas
pv:
storageClass: openebs-zfspv-default
env:
required:
BASE_URL: http://localhost:30001
4ga Boards - Required Instance Variablesโ
postgresql
variables in values.yaml
:
database
- database nameusername
- database usernamepassword
- database passwordpostgresPassword
- database admin passwordpostgresUrl
- (optional) - url for extental postgres database (When using this set postgresql.enabled: false)
env
variables in values.yaml
:
BASE_URL
- domain or ip address used to access 4ga BoardsSECRET_KEY
- session secret key
4ga Boards - Optional Instance Variablesโ
env
variables in values.yaml
:
Default settings (applied only on first run)โ
Default admin user is always created, but you can override the default values:โ
DEFAULT_ADMIN_USERNAME: "demo"
- default admin username, defaults todemo
DEFAULT_ADMIN_EMAIL: "demo@demo.demo"
- default admin email, defaults todemo@demo.demo
DEFAULT_ADMIN_NAME: "Demo Demo"
- default admin name, defaults toDemo Demo
DEFAULT_ADMIN_PASSWORD: "demo"
- default admin password, defaults todemo
Other settings:โ
DEFAULT_PROJECT_CREATION_ALL: true
- only admins can create projects if true, defaults totrue
DEFAULT_REGISTRATION_ENABLED: true
- registration enabled if true, defaults totrue
DEFAULT_LOCAL_REGISTRATION_ENABLED: true
- local registration emabled if true, defaults totrue
DEFAULT_SSO_REGISTRATION_ENABLED: true
- sso registration enabled if true, defaults totrue
Google OAuth2.0โ
GOOGLE_CLIENT_ID: googleClientId
- client id from the project on: https://console.cloud.google.com/GOOGLE_CLIENT_SECRET: googleClientSecret
- client secret from the project: generated in app settings
GitHub OAuth2.0โ
GITHUB_CLIENT_ID: githubClientId
- client id from the app after creating on: https://github.com/settings/applications/new or https://github.com/settings/apps/newGITHUB_CLIENT_SECRET: githubClientSecret
- client secret from the app: generated in app settings
Microsoft OIDCโ
MICROSOFT_CLIENT_ID: microsoftClientId
- client id from the app after creating on: https://portal.azure.com/MICROSOFT_CLIENT_SECRET: microsoftClientSecret
- client secret from the app: generated in app settings
Other settingsโ
CLIENT_URL: http://localhost:3000
- main client URL - usually not needed, if running production defaults toBASE_URL
, if development defaults tohttp://localhost:3000
(skip this unless you really need it)DEMO_MODE: false
- demo mode enabled if true, defaults tofalse
LOG_LEVEL: warn
- log levels from highest to lowest - error, warn, info, http, verbose, debug, silly, defaults towarn
TRUST_PROXY: 0
- trust proxy used only if 4ga Boards are behind a proxy/load balancer, defaults to0
TOKEN_EXPIRES_IN: 365
- token expiration in days, defaults to365
env
variables in values.truenas.yaml
:
All variables configured here override values from values.yaml
BASE_URL
- domain or ip address used to access 4ga Boards (Use this only when installing for TrueNAS)
Additional Links:
4ga Boards values.yaml
File
4ga Boards values.truenas.yaml
File
4ga Boards Professional Hosting