60 lines
1.1 KiB
YAML
60 lines
1.1 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/friendica
|
|
pullPolicy: IfNotPresent
|
|
tag: v2021.09@sha256:b863f481ec80caa4d53539706f4b0a9e98f14c0b865f66f63ed7176f9a01b4a7
|
|
|
|
securityContext:
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
# See more environment variables in the friendica documentation
|
|
# https://hub.docker.com/_/friendica
|
|
env:
|
|
MYSQL_USER: friendica
|
|
MYSQL_DATABASE: friendica
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10058
|
|
targetPort: 80
|
|
|
|
persistence:
|
|
varrun:
|
|
enabled: true
|
|
config:
|
|
enabled: true
|
|
mountPath: "/var/www/html"
|
|
|
|
envValueFrom:
|
|
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
|
|
|
|
redis:
|
|
enabled: true
|
|
existingSecret: "rediscreds"
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: friendica
|
|
mariadbDatabase: friendica
|
|
existingSecret: "mariadbcreds"
|