84 lines
1.6 KiB
YAML
84 lines
1.6 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/friendica
|
|
pullPolicy: IfNotPresent
|
|
tag: v2022.06@sha256:9aa5665a3c64d1595edb66d9c21df7a50d63b7fbbbe0e140f27a91eb943c39d1
|
|
|
|
securityContext:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
env:
|
|
MYSQL_USER: "{{ .Values.mariadb.mariadbUsername }}"
|
|
MYSQL_DATABASE: "{{ .Values.mariadb.mariadbDatabase }}"
|
|
MYSQL_PORT: 3306
|
|
REDIS_PORT: 6379
|
|
REDIS_DB: 1
|
|
FRIENDICA_TZ: "{{ .Values.TZ }}"
|
|
FRIENDICA_DATA_DIR: "/data"
|
|
FRIENDICA_CONFIG_DIR: "/config"
|
|
# User Defined
|
|
FRIENDICA_ADMIN_MAIL: "my@domain.com"
|
|
FRIENDICA_URL: "http://localhost:{{ .Values.service.main.ports.main.port }}"
|
|
FRIENDICA_UPGRADE: false
|
|
FRIENDICA_SITENAME: ""
|
|
PHP_MEMORY_LIMIT: "512M"
|
|
PHP_UPLOAD_LIMIT: "512M"
|
|
MYSQL_HOST:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainhost
|
|
MYSQL_PASSWORD:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
REDIS_HOST:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: plainhost
|
|
REDIS_PW:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: redis-password
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10058
|
|
targetPort: 80
|
|
|
|
probes:
|
|
liveness:
|
|
path: "/ping"
|
|
readiness:
|
|
path: "/ping"
|
|
startup:
|
|
path: "/ping"
|
|
|
|
persistence:
|
|
varrun:
|
|
enabled: true
|
|
config:
|
|
enabled: true
|
|
mountPath: "/config"
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
|
|
redis:
|
|
enabled: true
|
|
existingSecret: "rediscreds"
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: friendica
|
|
mariadbDatabase: friendica
|
|
existingSecret: "mariadbcreds"
|
|
|
|
portal:
|
|
enabled: true
|