mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
features:
 | 
						|
  # If you want to use Matomo on the Matomo page, you 
 | 
						|
  # have to set it here manual to true. 
 | 
						|
  # It's deactivated, because the proxy setup for Matomo
 | 
						|
  # itself wouldn't be possible 
 | 
						|
  matomo:             false 
 | 
						|
  css:                false
 | 
						|
  desktop:            false  # Didn't work in frame didn't have high priority @todo figure out pcause and solve it
 | 
						|
  central_database:   true
 | 
						|
  oauth2:             false
 | 
						|
  logout:             false  # Dependency conflict. It requires CDN and CDN requires matomo
 | 
						|
server:
 | 
						|
  csp:
 | 
						|
    whitelist:
 | 
						|
      script-src-elem:
 | 
						|
        - https://cdn.matomo.cloud
 | 
						|
      style-src-elem:
 | 
						|
        - https://fonts.googleapis.com
 | 
						|
    flags:
 | 
						|
      script-src:
 | 
						|
        unsafe-eval:   true
 | 
						|
      script-src-elem:
 | 
						|
        unsafe-inline: true
 | 
						|
        unsafe-eval:   true
 | 
						|
      style-src:
 | 
						|
        unsafe-inline: true
 | 
						|
        unsafe-eval:   true
 | 
						|
  domains:
 | 
						|
    aliases:
 | 
						|
      - "analytics.{{ PRIMARY_DOMAIN }}"
 | 
						|
    canonical:
 | 
						|
      - "matomo.{{ PRIMARY_DOMAIN }}"
 | 
						|
excluded_ips: "{{ networks.internet.values() | list }}"
 | 
						|
 | 
						|
docker:
 | 
						|
  services:
 | 
						|
    matomo:
 | 
						|
      image:            "matomo"
 | 
						|
      version:          "latest"
 | 
						|
      name:             "matomo"
 | 
						|
      backup:
 | 
						|
        no_stop_required: true
 | 
						|
    database:
 | 
						|
      enabled: true
 | 
						|
    redis:
 | 
						|
      enabled: false
 | 
						|
  volumes: 
 | 
						|
    data: matomo_data 
 |