mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Add per-service resource overrides (cpus, mem_reservation, mem_limit, pids_limit) for ollama, mariadb, postgres, confluence, gitlab, jira, keycloak, nextcloud; light formatting fixes in wordpress. Rename service keys from generic 'application/web' to concrete names (jira, confluence, gitlab, keycloak) and update compose templates accordingly. Jira: introduce JIRA_STORAGE_PATH and switch mounts/README accordingly. https://chatgpt.com/share/68d2d96c-9bf4-800f-bbec-d4f2c0051c06
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| load_dependencies:    True  # When set to false the dependencies aren't loaded. Helpful for developing
 | |
| actions:
 | |
|   import_realm:       True     # Import REALM
 | |
| features:
 | |
|   matomo:             true
 | |
|   css:                true
 | |
|   desktop:            true
 | |
|   ldap:               true
 | |
|   central_database:   true
 | |
|   recaptcha:          true
 | |
| 
 | |
|   # Doesn't make sense to activate logout page for keycloak, because the logout page 
 | |
|   # anyhow should be included via iframe in keycloak.
 | |
|   # The JS is also messing with the keycloak config fields
 | |
|   # @todo optimize the JS
 | |
|   logout:             false                             
 | |
| server:
 | |
|   csp:
 | |
|     flags:
 | |
|       script-src-elem:
 | |
|         unsafe-inline: true
 | |
|       script-src:
 | |
|         unsafe-inline: true
 | |
|       style-src:
 | |
|         unsafe-inline: true
 | |
|     whitelist:
 | |
|       frame-src:
 | |
|         - "*" # For frontend channel logout it's necessary that iframes can be loaded
 | |
|   domains:
 | |
|     canonical:
 | |
|       - "auth.{{ PRIMARY_DOMAIN }}"
 | |
|     aliases: []
 | |
| scopes:
 | |
|   nextcloud:  nextcloud
 | |
| 
 | |
| docker:
 | |
|   services:
 | |
|     keycloak:
 | |
|       image:            "quay.io/keycloak/keycloak"
 | |
|       version:          "latest"
 | |
|       name:             "keycloak"
 | |
|       cpus:             "2.0"
 | |
|       mem_reservation:  "2g"
 | |
|       mem_limit:        "4g"
 | |
|       pids_limit:       1024
 | |
|     database:
 | |
|       enabled: true
 | |
| 
 | |
| credentials:
 | |
|   recaptcha:
 | |
|     website_key:    "" # Required if you enabled recaptcha:
 | |
|     secret_key:     ""  # Required if you enabled recaptcha: |