Compare commits
2 commits
4aa7080a5d
...
fcb7a80d0a
| Author | SHA1 | Date | |
|---|---|---|---|
| fcb7a80d0a | |||
|
83d2ed9141 |
4 changed files with 40 additions and 6 deletions
|
|
@ -14,7 +14,7 @@ services:
|
||||||
|
|
||||||
webserver:
|
webserver:
|
||||||
|
|
||||||
image: ghcr.io/paperless-ngx/paperless-ngx:2.19.6
|
image: ghcr.io/paperless-ngx/paperless-ngx:2.20.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 8002:8000
|
- 8002:8000
|
||||||
|
|
|
||||||
17
docker/rustical/docker-compose.yml
Normal file
17
docker/rustical/docker-compose.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
rustical:
|
||||||
|
image: ghcr.io/lennart-k/rustical:0.10.5
|
||||||
|
ports:
|
||||||
|
- '4000:4000'
|
||||||
|
volumes:
|
||||||
|
- "${RUSTICAL_DATA_VOLUME:-/mnt/nas1/shared/rustical/:/var/lib/rustical/}"
|
||||||
|
environment:
|
||||||
|
RUSTICAL_OIDC__NAME: ${RUSTICAL_OIDC_NAME:-Authentik}
|
||||||
|
RUSTICAL_OIDC__ISSUER: ${RUSTICAL_OIDC_ISSUER:-https://auth.fukurokuju.dev/application/o/rustical/}
|
||||||
|
RUSTICAL_OIDC__CLIENT_ID: ${RUSTICAL_OIDC_CLIENT_ID}
|
||||||
|
RUSTICAL_OIDC__CLIENT_SECRET: ${RUSTICAL_OIDC_CLIENT_SECRET}
|
||||||
|
RUSTICAL_OIDC__CLAIM_USERID: ${RUSTICAL_OIDC_CLAIM_USERID:-preferred_username}
|
||||||
|
RUSTICAL_OIDC__SCOPES: '["openid", "profile", "groups"]'
|
||||||
|
RUSTICAL_OIDC__ALLOW_SIGN_UP: "true"
|
||||||
|
RUSTICAL_FRONTEND__ALLOW_PASSWORD_LOGIN: ${RUSTICAL_FRONTED_ALLOW_PASSWORD_LOGIN:-false}
|
||||||
|
|
@ -42,6 +42,7 @@ resource "authentik_group" "ftp" {
|
||||||
is_superuser = false
|
is_superuser = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
module "gitea" {
|
module "gitea" {
|
||||||
source = "../modules/authentik-oidc"
|
source = "../modules/authentik-oidc"
|
||||||
app_name = "Gitea"
|
app_name = "Gitea"
|
||||||
|
|
@ -199,7 +200,6 @@ module "netbird" {
|
||||||
app_name = "netbird"
|
app_name = "netbird"
|
||||||
app_slug = "netbird"
|
app_slug = "netbird"
|
||||||
client_id = var.netbird_client_id
|
client_id = var.netbird_client_id
|
||||||
client_secret = var.netbird_client_secret
|
|
||||||
client_type = "public"
|
client_type = "public"
|
||||||
app_access_group_id = authentik_group.vpn.id
|
app_access_group_id = authentik_group.vpn.id
|
||||||
redirect_uris = [
|
redirect_uris = [
|
||||||
|
|
@ -223,4 +223,15 @@ module "netbird" {
|
||||||
]
|
]
|
||||||
app_icon = "https://vpn.fukurokuju.dev/apple-icon.png"
|
app_icon = "https://vpn.fukurokuju.dev/apple-icon.png"
|
||||||
access_token_validity = "days=10"
|
access_token_validity = "days=10"
|
||||||
|
client_secret = ""
|
||||||
|
}
|
||||||
|
|
||||||
|
module "rustical" {
|
||||||
|
source = "../modules/authentik-oidc"
|
||||||
|
app_name = "rustical"
|
||||||
|
app_slug = "rustical"
|
||||||
|
client_id = var.rustical_client_id
|
||||||
|
client_secret = var.rustical_client_secret
|
||||||
|
redirect_uris = [{ matching_mode = "strict", url = "https://cal.roboces.dev/frontend/login/oidc/callback" }]
|
||||||
|
app_access_group_id = ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,10 +44,6 @@ variable "netbird_client_id" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "netbird_client_secret" {
|
|
||||||
description = "Netbird client secret"
|
|
||||||
type = string
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "sftpgo_client_id" {
|
variable "sftpgo_client_id" {
|
||||||
description = "SFTPGo client ID"
|
description = "SFTPGo client ID"
|
||||||
|
|
@ -58,3 +54,13 @@ variable "sftpgo_client_secret" {
|
||||||
description = "SFTPGo client secret"
|
description = "SFTPGo client secret"
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "rustical_client_id" {
|
||||||
|
description = "Radicale client ID"
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "rustical_client_secret" {
|
||||||
|
description = "Radicale client secret"
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue