Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,25 @@ EOF
perms = "755"
}

[[ if eq ((env "CONFIG_prosody_enable_shortlived_tokens") or "false") "true" ]]
template {
data = <<EOF
PROSODY_ENABLE_SHORTLIVED_TOKENS="true"
PROSODY_SHORTLIVED_TOKEN_KEY_PATH="/secrets/asap-shortlived.key"
PROSODY_SHORTLIVED_TOKEN_KID="{{ with secret "secret/[[ env "CONFIG_environment" ]]/asap/shortlived" }}{{ .Data.data.key_id }}{{ end }}"
EOF
destination = "secrets/shortlived.env"
env = true
}

template {
data = <<EOF
{{- with secret "secret/[[ env "CONFIG_environment" ]]/asap/shortlived" }}{{ .Data.data.private_key }}{{ end -}}
EOF
destination = "secrets/asap-shortlived.key"
}
[[ end ]]

[[ if eq (or (env "CONFIG_jigasi_vault_enabled") "true") "true" ]]
template {
data = <<EOF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ job [[ template "job_name" . ]] {
ENABLE_TRANSCRIPTIONS = "[[ or (env "CONFIG_jitsi_meet_enable_transcription") "false" ]]"
ENABLE_LOCAL_RECORDING_NOTIFY_ALL_PARTICIPANT = "true"
ENABLE_REQUIRE_DISPLAY_NAME = "[[ or (env "CONFIG_jitsi_meet_require_displayname") "false" ]]"
FILESHARING_API_URL = "[[ env "CONFIG_jitsi_meet_filesharing_api_url" ]]"
[[- if env "CONFIG_jitsi_meet_resolution" ]]
RESOLUTION = "[[ or (env "CONFIG_jitsi_meet_resolution") "720" ]]"
RESOLUTION_MIN = "[[ or (env "CONFIG_jitsi_meet_resolution_min") "180" ]]"
Expand Down