feat: add docker/oxicloud
This commit is contained in:
parent
b20e4f0ef4
commit
708173d84e
10 changed files with 65 additions and 41 deletions
|
|
@ -37,22 +37,6 @@ resource "authentik_group" "arrs" {
|
|||
is_superuser = false
|
||||
}
|
||||
|
||||
resource "authentik_group" "vpn" {
|
||||
name = "vpn"
|
||||
is_superuser = false
|
||||
}
|
||||
|
||||
resource "authentik_group" "ftp" {
|
||||
name = "ftp"
|
||||
is_superuser = false
|
||||
}
|
||||
|
||||
resource "authentik_group" "mediamanager" {
|
||||
name = "mediamanager"
|
||||
is_superuser = false
|
||||
}
|
||||
|
||||
|
||||
module "gitea" {
|
||||
source = "../modules/authentik-oidc"
|
||||
app_name = "Gitea"
|
||||
|
|
@ -181,30 +165,6 @@ module "prowlarr" {
|
|||
internal_host_ssl_validation = false
|
||||
}
|
||||
|
||||
module "sftpgo" {
|
||||
source = "../modules/authentik-oidc"
|
||||
app_name = "SFTPGo"
|
||||
app_slug = "SFTPGo"
|
||||
client_id = var.sftpgo_client_id
|
||||
client_secret = var.sftpgo_client_secret
|
||||
client_type = "confidential"
|
||||
app_access_group_id = authentik_group.ftp.id
|
||||
redirect_uris = [
|
||||
{
|
||||
matching_mode = "regex",
|
||||
url = "https://ftp.fukurokuju.dev/.*"
|
||||
}
|
||||
]
|
||||
extra_property_mappings = [
|
||||
|
||||
]
|
||||
app_icon = "https://ftp.fukurokuju.dev/static/img/logo.png"
|
||||
access_token_validity = "days=10"
|
||||
app_url = "https://ftp.fukurokuju.dev"
|
||||
app_description = "SFTPGo"
|
||||
sub_mode = "user_username"
|
||||
}
|
||||
|
||||
module "rustical" {
|
||||
source = "../modules/authentik-oidc"
|
||||
app_name = "rustical"
|
||||
|
|
@ -272,3 +232,17 @@ module "pulse" {
|
|||
redirect_uris = [{ matching_mode = "strict", url = "https://pulse.fukurokuju.dev/api/oidc/callback" }]
|
||||
app_access_group_id = authentik_group.admins.id
|
||||
}
|
||||
|
||||
module "cloud" {
|
||||
source = "../modules/authentik-oidc"
|
||||
app_name = "Cloud"
|
||||
app_slug = "cloud"
|
||||
app_url = "https://cloud.roboces.dev"
|
||||
client_id = var.oxicloud_client_id
|
||||
client_secret = var.oxicloud_client_secret
|
||||
app_icon = "https://cloud.roboces.dev/themes/opencloud/assets/favicon.svg"
|
||||
redirect_uris = [{
|
||||
matching_mode = "strict", url = "https://cloud.roboces.dev/api/auth/oidc/callback"
|
||||
}]
|
||||
app_access_group_id = ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue