Compare commits
	
		
			2 Commits
		
	
	
		
			2.3.1+v2.1
			...
			metrics
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| d2b7b671f5 | |||
| c9d80df34d | 
@ -63,6 +63,7 @@ COMPOSE_FILE="compose.yml"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Enable prometheus metrics collection
 | 
					## Enable prometheus metrics collection
 | 
				
			||||||
## used used by the coop-cloud monitoring stack
 | 
					## used used by the coop-cloud monitoring stack
 | 
				
			||||||
 | 
					#COMPOSE_FILE="$COMPOSE_FILE:compose.metrics.yml"
 | 
				
			||||||
#METRICS_ENABLED=1
 | 
					#METRICS_ENABLED=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#####################################################################
 | 
					#####################################################################
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								abra.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								abra.sh
									
									
									
									
									
								
							@ -1,3 +1,3 @@
 | 
				
			|||||||
export TRAEFIK_YML_VERSION=v16
 | 
					export TRAEFIK_YML_VERSION=v17
 | 
				
			||||||
export FILE_PROVIDER_YML_VERSION=v8
 | 
					export FILE_PROVIDER_YML_VERSION=v8
 | 
				
			||||||
export ENTRYPOINT_VERSION=v2
 | 
					export ENTRYPOINT_VERSION=v2
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										9
									
								
								compose.metrics.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								compose.metrics.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					version: "3.8"
 | 
				
			||||||
 | 
					services:
 | 
				
			||||||
 | 
					  app:
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      - METRICS_ENABLED
 | 
				
			||||||
 | 
					    ports:
 | 
				
			||||||
 | 
					      - target: 8082
 | 
				
			||||||
 | 
					        published: 8082
 | 
				
			||||||
 | 
					        mode: host
 | 
				
			||||||
@ -67,6 +67,9 @@ entrypoints:
 | 
				
			|||||||
  {{ if eq (env "METRICS_ENABLED") "1" }}
 | 
					  {{ if eq (env "METRICS_ENABLED") "1" }}
 | 
				
			||||||
  metrics:
 | 
					  metrics:
 | 
				
			||||||
    address: ":8082"
 | 
					    address: ":8082"
 | 
				
			||||||
 | 
					    http:
 | 
				
			||||||
 | 
					      middlewares:
 | 
				
			||||||
 | 
					        - basicauth@file
 | 
				
			||||||
  {{ end }}
 | 
					  {{ end }}
 | 
				
			||||||
  {{ if eq (env "MATRIX_FEDERATION_ENABLED") "1" }}
 | 
					  {{ if eq (env "MATRIX_FEDERATION_ENABLED") "1" }}
 | 
				
			||||||
  matrix-federation:
 | 
					  matrix-federation:
 | 
				
			||||||
@ -80,6 +83,8 @@ ping:
 | 
				
			|||||||
metrics:
 | 
					metrics:
 | 
				
			||||||
  prometheus:
 | 
					  prometheus:
 | 
				
			||||||
    entryPoint: metrics
 | 
					    entryPoint: metrics
 | 
				
			||||||
 | 
					    addRoutersLabels: true
 | 
				
			||||||
 | 
					    addServicesLabels: true
 | 
				
			||||||
{{ end }}
 | 
					{{ end }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
certificatesResolvers:
 | 
					certificatesResolvers:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user