62 lines
1.2 KiB
YAML
62 lines
1.2 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/friendica
|
|
pullPolicy: IfNotPresent
|
|
tag: v2021.09@sha256:0de00cf69f963793da2e91995b11a3222998163afe8ed3b57f8ecbb2c13fd4f6
|
|
|
|
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
|
|
FRIENDICA_ADMIN_MAIL: "my@domain.com"
|
|
FRIENDICA_URL: "https://friendica.local"
|
|
|
|
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"
|