Files
provisioning/ansible-5/roles/prod.k3s/files/nextcloud/values.yaml
richard 62c58758f3 initial setup of nextcloud
TODO: database, config, apps folder
2022-11-05 21:47:37 -04:00

114 lines
3.0 KiB
YAML

---
image:
# repository: dkregistry.xai-corp.net
tag: "21.0"
# flavor: apache
# pullSecrets: regcred
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.ingress.kubernetes.io/custom-response-headers: "Access-Control-Allow-Origin:*||Access-Control-Allow-Methods:GET,POST,OPTIONS||Access-Control-Allow-Headers:DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range||Access-Control-Expose-Headers:Content-Length,Content-Range"
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
- secretName: xai-corp-production-tls
nextcloud:
# image: xaicorp/nextcloud
host: xaibox.xai-corp.net
datadir: /var/www/html/data
defaultConfigs:
autoconfig\.php: false
configs:
config.php: |-
<?php
$CONFIG = [
'installed' => true,
'instanceid' => 'ocxziwl6co38',
'passwordsalt' => 'FKWh+oXeNAm2EPHg6mz+9xE48gunGb',
'secret' => 'yC3EEMk31oZpas8U65awdT5rxR40+8uP5NEkD82S3iLNNWqr',
'trusted_domains' => [
0 => 'dkhost.xai-corp.net:8083',
1 => 'dkhost:8083',
2 => 'tasks.xaibox_app:8083',
3 => 'xaibox.xai-corp.net',
4 => 'localhost',
],
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' => [
0 => [
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
],
1 => [
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
],
],
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'dbname' => 'nextcloud',
'dbhost' => 'mariadb.mariadb',
'dbport' => '3306',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xh891hx1hc89f239hibndnxc1i',
'version' => '21.0.9.1',
'overwrite.cli.url' => 'http://localhost',
'log_type' => 'owncloud',
'logfile' => 'nextcloud.log'
];
# extraVars:
# ServerName: xaibox.xai-corp.net
#
extraVolumes:
- name: extra-data
persistentVolumeClaim:
claimName: nextcloud-data-0
- name: extra-apps
persistentVolumeClaim:
claimName: nextcloud-apps-0
# volumeMounts:
# - name: extra-data
# mountPath: /data
# - name: extra-apps
# mountPath: /apps
persistence:
enabled: true
# existingClaim: nextcloud-main-0
nextcloudData:
enabled: true
existingClaim: nextcloud-data-0
readinessProbe:
initialDelaySeconds: 30
startupProbe:
enabled: true
initialDelaySeconds: 60
internalDatabase:
enabled: false
externalDatabase:
enabled: true
type: mysql
host: "sql.xai-corp.net:3306"
database: nextcloud2
user: nextcloud
password: xh891hx1hc89f239hibndnxc1i
redis:
enabled: false