Add initial Prometheus compose file
This commit is contained in:
		
							
								
								
									
										21
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| volumes: | ||||
|   config: | ||||
|   data: | ||||
|  | ||||
| networks: | ||||
|   traefik: | ||||
|     external: true | ||||
|  | ||||
| services: | ||||
|   prometheus: | ||||
|     image: prom/prometheus:${VERSION:?} | ||||
|     volumes: | ||||
|       - config:/etc/prometheus | ||||
|       - data:/prometheus | ||||
|     networks: | ||||
|       - traefik | ||||
|     labels: | ||||
|       - "traefik.http.routers.${ROUTER:-prometheus}.rule=Host(`${DOMAIN:-prom.local.krislamo.org}`)" | ||||
|       - "traefik.http.routers.${ROUTER:-prometheus}.entrypoints=web" | ||||
|       - "traefik.enable=true" | ||||
|       - "traefik.docker.network=traefik" | ||||
		Reference in New Issue
	
	Block a user