Peter Kurfer
cd8229fb3d
All checks were successful
continuous-integration/drone/push Build is passing
- update KeyDB - update NextCloud - update Forgejo - add Redis to NocoDB
100 lines
No EOL
2.1 KiB
Django/Jinja
100 lines
No EOL
2.1 KiB
Django/Jinja
image:
|
|
flavor: fpm
|
|
|
|
ingress:
|
|
enabled: true
|
|
|
|
nextcloud:
|
|
host: nextcloud.icb4dc0.de
|
|
username: "{{ nextcloud.root.username }}"
|
|
password: "{{ nextcloud.root.password }}"
|
|
defaultConfigs:
|
|
redis.config.php: false
|
|
configs:
|
|
reverse-proxy.config.php: |-
|
|
<?php
|
|
$CONFIG = array (
|
|
"overwrite.cli.url" => "https://nextcloud.icb4dc0.de",
|
|
"overwriteprotocol" => "https",
|
|
);
|
|
logs.config.php: |-
|
|
<?php
|
|
$CONFIG = array (
|
|
"log_type" => "file",
|
|
"logfile" => "/dev/stdout",
|
|
"loglevel" => 1,
|
|
);
|
|
redis.config.php: |-
|
|
<?php
|
|
if (getenv('REDIS_HOST')) {
|
|
$CONFIG = array (
|
|
'memcache.distributed' => '\OC\Memcache\Redis',
|
|
'memcache.locking' => '\OC\Memcache\Redis',
|
|
'redis' => array(
|
|
'host' => getenv('REDIS_HOST'),
|
|
'port' => getenv('REDIS_HOST_PORT') ?: 6379,
|
|
),
|
|
);
|
|
}
|
|
extraVolumes:
|
|
- name: php-confd
|
|
emptyDir:
|
|
sizeLimit: 50Mi
|
|
extraVolumeMounts:
|
|
- mountPath: /usr/local/etc/php/conf.d/
|
|
name: php-confd
|
|
extraInitContainers:
|
|
- name: php-confd-init
|
|
image: nextcloud:27.1.2-fpm
|
|
command:
|
|
- /bin/bash
|
|
- -c
|
|
- --
|
|
args:
|
|
- cp -R /usr/local/etc/php/conf.d/* /data/
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: php-confd
|
|
securityContext:
|
|
runAsUser: 1001
|
|
runAsGroup: 1001
|
|
fsGroup: 1001
|
|
|
|
extraEnv:
|
|
- name: REDIS_HOST
|
|
value: nextcloud-keydb
|
|
|
|
nginx:
|
|
enabled: true
|
|
|
|
redis:
|
|
enabled: false
|
|
|
|
cronjob:
|
|
enabled: true
|
|
|
|
internalDatabase:
|
|
enabled: false
|
|
|
|
externalDatabase:
|
|
enabled: true
|
|
type: postgresql
|
|
host: postgres-15-postgresql.postgres.svc.cluster.local:5432
|
|
database: nextcloud
|
|
user: "{{ nextcloud.db.username }}"
|
|
password: "{{ nextcloud.db.password }}"
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: hcloud-volumes
|
|
size: 8Gi
|
|
nextcloudData:
|
|
enabled: true
|
|
storageClass: storage-box
|
|
accessMode: ReadWriteMany
|
|
size: 100Gi
|
|
|
|
metrics:
|
|
enabled: true
|
|
serviceMonitor:
|
|
enabled: true |