Compare commits
	
		
			4 Commits
		
	
	
		
			patch_kima
			...
			custom-css
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c39b6ad25a | |||
| 1ffb62d74a | |||
| 5086df24fb | |||
| e07d57718a | 
							
								
								
									
										13
									
								
								.env.sample
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.env.sample
									
									
									
									
									
								
							| @ -34,7 +34,6 @@ SECRET_ADMIN_PASS_VERSION=v1 | |||||||
| SECRET_EMAIL_PASS_VERSION=v1 | SECRET_EMAIL_PASS_VERSION=v1 | ||||||
|  |  | ||||||
| # X_FRAME_OPTIONS_ALLOW_FROM=dashboard.example.org | # X_FRAME_OPTIONS_ALLOW_FROM=dashboard.example.org | ||||||
| AUTHENTIK_COLOR_BACKGROUND_LIGHT=#1c1e21 |  | ||||||
|  |  | ||||||
| ## FLOW OPTIONS | ## FLOW OPTIONS | ||||||
| # WELCOME_MESSAGE="Welcome to Authentik" | # WELCOME_MESSAGE="Welcome to Authentik" | ||||||
| @ -47,6 +46,12 @@ COPY_ASSETS="flow_background.jpg|app:/web/dist/assets/images/" | |||||||
| COPY_ASSETS="$COPY_ASSETS icon_left_brand.svg|app:/web/dist/assets/icons/" | COPY_ASSETS="$COPY_ASSETS icon_left_brand.svg|app:/web/dist/assets/icons/" | ||||||
| COPY_ASSETS="$COPY_ASSETS icon.png|app:/web/dist/assets/icons/" | COPY_ASSETS="$COPY_ASSETS icon.png|app:/web/dist/assets/icons/" | ||||||
|  |  | ||||||
|  | # Default CSS customisation, just background colour | ||||||
|  | COMPOSE_FILE="$COMPOSE_FILE:compose.css.yml" | ||||||
|  | AUTHENTIK_COLOR_BACKGROUND_LIGHT=#1c1e21 | ||||||
|  | # Custommise the entire custom CSS file | ||||||
|  | #COMPOSE_FILE="$COMPOSE_FILE:compose.css.yml" | ||||||
|  |  | ||||||
| # COMPOSE_FILE="$COMPOSE_FILE:compose.nextcloud.yml" | # COMPOSE_FILE="$COMPOSE_FILE:compose.nextcloud.yml" | ||||||
| # NEXTCLOUD_DOMAIN=nextcloud.example.com | # NEXTCLOUD_DOMAIN=nextcloud.example.com | ||||||
| # SECRET_NEXTCLOUD_ID_VERSION=v1 | # SECRET_NEXTCLOUD_ID_VERSION=v1 | ||||||
| @ -84,12 +89,6 @@ COPY_ASSETS="$COPY_ASSETS icon.png|app:/web/dist/assets/icons/" | |||||||
| # SECRET_OUTLINE_SECRET_VERSION=v1 | # SECRET_OUTLINE_SECRET_VERSION=v1 | ||||||
| # APP_ICONS="$APP_ICONS outline:~/.abra/recipes/authentik/icons/outline.png" | # APP_ICONS="$APP_ICONS outline:~/.abra/recipes/authentik/icons/outline.png" | ||||||
|  |  | ||||||
| # COMPOSE_FILE="$COMPOSE_FILE:compose.kimai.yml" |  | ||||||
| # KIMAI_DOMAIN=kimai.example.com |  | ||||||
| # SECRET_KIMAI_ID_VERSION=v1 |  | ||||||
| # SECRET_KIMAI_SECRET_VERSION=v1 |  | ||||||
| # APP_ICONS="$APP_ICONS kimai:~/.abra/recipes/authentik/icons/kimai.png" |  | ||||||
|  |  | ||||||
| # COMPOSE_FILE="$COMPOSE_FILE:compose.monitoring.yml" | # COMPOSE_FILE="$COMPOSE_FILE:compose.monitoring.yml" | ||||||
| # MONITORING_DOMAIN=monitoring.example.com | # MONITORING_DOMAIN=monitoring.example.com | ||||||
| # SECRET_MONITORING_ID_VERSION=v1 | # SECRET_MONITORING_ID_VERSION=v1 | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								abra.sh
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								abra.sh
									
									
									
									
									
								
							| @ -11,7 +11,6 @@ export MATRIX_CONFIG_VERSION=v1 | |||||||
| export WEKAN_CONFIG_VERSION=v3 | export WEKAN_CONFIG_VERSION=v3 | ||||||
| export VIKUNJA_CONFIG_VERSION=v1 | export VIKUNJA_CONFIG_VERSION=v1 | ||||||
| export OUTLINE_CONFIG_VERSION=v2 | export OUTLINE_CONFIG_VERSION=v2 | ||||||
| export KIMAI_CONFIG_VERSION=v1 |  | ||||||
| export RALLLY_CONFIG_VERSION=v2 | export RALLLY_CONFIG_VERSION=v2 | ||||||
| export HEDGEDOC_CONFIG_VERSION=v1 | export HEDGEDOC_CONFIG_VERSION=v1 | ||||||
| export MONITORING_CONFIG_VERSION=v1 | export MONITORING_CONFIG_VERSION=v1 | ||||||
|  | |||||||
							
								
								
									
										14
									
								
								compose.css.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								compose.css.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | |||||||
|  | --- | ||||||
|  | version: '3.8' | ||||||
|  |  | ||||||
|  | services: | ||||||
|  |   app: | ||||||
|  |     configs:  | ||||||
|  |       - source: custom_css | ||||||
|  |         target: /web/dist/custom.css | ||||||
|  |  | ||||||
|  | configs: | ||||||
|  |   custom_css: | ||||||
|  |     name: ${STACK_NAME}_custom_css_${CUSTOM_CSS_VERSION} | ||||||
|  |     file: custom.css.tmpl | ||||||
|  |     template_driver: golang | ||||||
| @ -1,14 +0,0 @@ | |||||||
| version: "3.8" |  | ||||||
| services: |  | ||||||
|   worker: |  | ||||||
|     environment: |  | ||||||
|       - KIMAI_DOMAIN |  | ||||||
|     configs: |  | ||||||
|       - source: kimai |  | ||||||
|         target: /blueprints/kimai.yaml |  | ||||||
|  |  | ||||||
| configs: |  | ||||||
|   kimai: |  | ||||||
|     name: ${STACK_NAME}_kimai_${KIMAI_CONFIG_VERSION} |  | ||||||
|     file: kimai.yaml.tmpl |  | ||||||
|     template_driver: golang |  | ||||||
							
								
								
									
										13
									
								
								compose.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								compose.yml
									
									
									
									
									
								
							| @ -32,7 +32,7 @@ x-env: &env | |||||||
| version: '3.8' | version: '3.8' | ||||||
| services: | services: | ||||||
|   app: |   app: | ||||||
|     image: ghcr.io/goauthentik/server:2024.2.3 |     image: ghcr.io/goauthentik/server:2024.4.0 | ||||||
|     command: server |     command: server | ||||||
|     depends_on: |     depends_on: | ||||||
|       - db |       - db | ||||||
| @ -47,9 +47,6 @@ services: | |||||||
|       - media:/media |       - media:/media | ||||||
|       - assets:/web/dist/assets |       - assets:/web/dist/assets | ||||||
|       - templates:/templates |       - templates:/templates | ||||||
|     configs: |  | ||||||
|       - source: custom_css |  | ||||||
|         target: /web/dist/custom.css |  | ||||||
|     networks: |     networks: | ||||||
|       - internal |       - internal | ||||||
|       - proxy |       - proxy | ||||||
| @ -76,11 +73,11 @@ services: | |||||||
|         - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" |         - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" | ||||||
|         - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN" |         - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN" | ||||||
|         - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}" |         - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}" | ||||||
|         - "coop-cloud.${STACK_NAME}.version=5.1.2+2024.2.3" |         - "coop-cloud.${STACK_NAME}.version=5.2.1+2024.4.0" | ||||||
|         - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" |         - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" | ||||||
|  |  | ||||||
|   worker: |   worker: | ||||||
|     image: ghcr.io/goauthentik/server:2024.2.3 |     image: ghcr.io/goauthentik/server:2024.4.0 | ||||||
|     command: worker |     command: worker | ||||||
|     depends_on: |     depends_on: | ||||||
|       - db |       - db | ||||||
| @ -186,10 +183,6 @@ volumes: | |||||||
|   database: |   database: | ||||||
|  |  | ||||||
| configs: | configs: | ||||||
|   custom_css: |  | ||||||
|     name: ${STACK_NAME}_custom_css_${CUSTOM_CSS_VERSION} |  | ||||||
|     file: custom.css.tmpl |  | ||||||
|     template_driver: golang |  | ||||||
|   flow_authentication: |   flow_authentication: | ||||||
|     name: ${STACK_NAME}_flow_authentication_${FLOW_AUTHENTICATION_VERSION} |     name: ${STACK_NAME}_flow_authentication_${FLOW_AUTHENTICATION_VERSION} | ||||||
|     file: flow_authentication.yaml.tmpl |     file: flow_authentication.yaml.tmpl | ||||||
|  | |||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 30 KiB | 
| @ -1,48 +0,0 @@ | |||||||
| version: 1 |  | ||||||
| metadata: |  | ||||||
|   labels: |  | ||||||
|     blueprints.goauthentik.io/instantiate: "true" |  | ||||||
|   name: kimai |  | ||||||
|  |  | ||||||
| entries: |  | ||||||
| - attrs: |  | ||||||
|     acs_url: https://{{ env  "KIMAI_DOMAIN" }}/auth/saml/acs |  | ||||||
|     assertion_valid_not_before: minutes=-5 |  | ||||||
|     assertion_valid_not_on_or_after: minutes=5 |  | ||||||
|     audience: https://{{ env  "KIMAI_DOMAIN" }}/auth/saml |  | ||||||
|     authentication_flow: !Find [authentik_flows.flow, [slug, default-authentication-flow]] |  | ||||||
|     authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]] |  | ||||||
|     digest_algorithm: http://www.w3.org/2001/04/xmlenc#sha256 |  | ||||||
|     issuer: https://{{ env  "DOMAIN" }} |  | ||||||
|     name: Kimai |  | ||||||
|     name_id_mapping: !Find [authentik_providers_saml.samlpropertymapping, [name, "authentik default SAML Mapping: Username"]] |  | ||||||
|     property_mappings: |  | ||||||
|     - !Find [authentik_providers_saml.samlpropertymapping, [name, "authentik default SAML Mapping: Name"]] |  | ||||||
|     - !Find [authentik_providers_saml.samlpropertymapping, [name, "authentik default SAML Mapping: Email"]] |  | ||||||
|     - !Find [authentik_providers_saml.samlpropertymapping, [name, "authentik default SAML Mapping: User ID"]] |  | ||||||
|     - !Find [authentik_providers_saml.samlpropertymapping, [name, "authentik default SAML Mapping: Username"]] |  | ||||||
|     - !Find [authentik_providers_saml.samlpropertymapping, [name, "authentik default SAML Mapping: Groups"]] |  | ||||||
|     - !Find [authentik_providers_saml.samlpropertymapping, [name, "authentik default SAML Mapping: UPN"]] |  | ||||||
|     session_valid_not_on_or_after: minutes=86400 |  | ||||||
|     signature_algorithm: http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 |  | ||||||
|     signing_kp: !Find [authentik_crypto.certificatekeypair, [name, authentik Self-signed Certificate]] |  | ||||||
|     sp_binding: post |  | ||||||
|   conditions: [] |  | ||||||
|   id: kimai_provider |  | ||||||
|   identifiers: |  | ||||||
|     pk: 9991 |  | ||||||
|   model: authentik_providers_saml.samlprovider |  | ||||||
|   state: present |  | ||||||
|  |  | ||||||
| - attrs: |  | ||||||
|     meta_launch_url: https://{{ env  "KIMAI_DOMAIN" }} |  | ||||||
|     open_in_new_tab: true |  | ||||||
|     policy_engine_mode: any |  | ||||||
|     provider: !KeyOf kimai_provider |  | ||||||
|     slug: kimai |  | ||||||
|   conditions: [] |  | ||||||
|   id: kimai_application |  | ||||||
|   identifiers: |  | ||||||
|     name: Kimai |  | ||||||
|   model: authentik_core.application |  | ||||||
|   state: present |  | ||||||
		Reference in New Issue
	
	Block a user