mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	- Set cpus=1.0, mem_reservation=1g, mem_limit=2g, pids_limit=1024 - Keep LTS image/tag templating and Postgres type - Normalize spacing/alignment for readability Reason: Tomcat/XWiki needs >1 GB; low limits caused slow boots/502 upstream not ready. Conversation: https://chatgpt.com/share/68de5266-c8a0-800f-bfbc-de85262de53e
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| credentials: {}
 | |
| docker:
 | |
|   services:
 | |
|     redis:
 | |
|       enabled:            false
 | |
|     database:
 | |
|       enabled:            true
 | |
|       type:               postgres
 | |
|     xwiki:
 | |
|       image:              xwiki
 | |
|       version:            lts-<< defaults_applications[web-app-xwiki].docker.services.database.type >>-tomcat
 | |
|       name:               xwiki
 | |
|       backup:
 | |
|         no_stop_required: true
 | |
|       cpus:               1.0
 | |
|       mem_reservation:    1g
 | |
|       mem_limit:          2g
 | |
|       pids_limit:         1024
 | |
|   volumes:
 | |
|     data:           "xwiki_data"
 | |
| features:
 | |
|   matomo:           true
 | |
|   css:              true
 | |
|   desktop:          true
 | |
|   central_database: true
 | |
|   logout:           true
 | |
|   oidc:             true
 | |
|   ldap:             false # Just OIDC or LDAP can be enabled
 | |
| server:
 | |
|   csp:
 | |
|     whitelist:
 | |
|       worker-src:
 | |
|         - "blob:"
 | |
|     flags:
 | |
|       script-src:
 | |
|         unsafe-eval:    true
 | |
|       script-src-elem:
 | |
|         unsafe-inline:  true
 | |
|   domains:
 | |
|     canonical:
 | |
|       - "x.wiki.{{ PRIMARY_DOMAIN }}"
 | |
|     aliases: []
 | |
| rbac:
 | |
|   roles: {}
 | |
| ldap:
 | |
|   local_enabled: true # Allows local login if LDAP is down
 | |
| 
 | |
| plugins:
 | |
|   oidc:
 | |
|     enabled: true
 | |
|     items:
 | |
|       - id: "org.xwiki.contrib.oidc:oidc-authenticator"
 | |
|         version: ""
 | |
| 
 | |
|   ldap:
 | |
|     enabled: false
 | |
|     items:
 | |
|       - id: "org.xwiki.contrib.ldap:ldap-authenticator"
 | |
|         version: "9.15.7"
 | |
| 
 | |
|   # Example for Matomo
 | |
|   matomo:
 | |
|     enabled: false
 | |
|     items:
 | |
|       - id: "org.xwiki.contrib:matomo"
 | |
|         version: "1.0"
 |