image:
  repository: tccr.io/truecharts/zusam
  tag: 0.5.3@sha256:477f1744f0f716361af553e90bfd8c23cec19e35bb3fb5c21e965ddf5551f341
  pullPolicy: IfNotPresent

securityContext:
  readOnlyRootFilesystem: false
  runAsNonRoot: false

podSecurityContext:
  runAsUser: 0
  runAsGroup: 0

secretEnv:
  INIT_USER: email@domain.com
  INIT_GROUP: zusam
  INIT_PASSWORD: changeme

env:
  DOMAIN: localhost
  LANG: en
  ALLOW_BOTS: false
  ALLOW_VIDEO_UPLOAD: true
  ALLOW_IMAGE_UPLOAD: true
  ALLOW_PDF_UPLOAD: true
  ALLOW_AUDIO_UPLOAD: false
  IDLE_HOURS: 01-07
  VIDEO_CONVERSION_THREADS: 1
  VIDEO_FORMAT_NOT_CONVERTED: video/mp4
  VIDEO_SIZE_NOT_CONVERTED: 10
  MAX_TASK_LOCK_DURATION: 14400
  ALLOW_EMAIL: false
  MAILER_DSN: null://localhost
  mailer_auth_mode: cram-md5
  mailer_username: ""
  mailer_password: ""
  mailer_port: 587
  mailer_host: ""
  mailer_transport: smtp
  mailer_encryption: tls
  CRON_CONVERT_IMAGES: 60
  CRON_CONVERT_VIDEO: 3600
  CRON_NOTIFICATION_EMAILS: 3600
  CRON_COMPRESS_GIFS: 3600
  CRON_BOT_ACTIVATE: 3600
  CRON_CLEAN_CACHE: 86400
  CRON_CLEAN_NOTIFICATIONS: 604800
  CRON_CLEAN_FILES: 604800
  CRON_CLEAN_MESSAGES: 604800
  CRON_CLEAN_GROUPS: 2592000

service:
  main:
    ports:
      main:
        port: 10283
        targetPort: 8080
        protocol: HTTP

persistence:
  data:
    enabled: true
    mountPath: /zusam/data

portal:
  enabled: true
