add custom names to each server and move grafana to be accessed thru caddy instead of directly
This commit is contained in:
		@@ -1,11 +1,23 @@
 | 
			
		||||
{
 | 
			
		||||
	admin :2019
 | 
			
		||||
 | 
			
		||||
	servers {
 | 
			
		||||
	servers :80 {
 | 
			
		||||
		name static_site
 | 
			
		||||
		metrics
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	servers :80 {
 | 
			
		||||
		name grafana
 | 
			
		||||
		metrics
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:80
 | 
			
		||||
respond "Data\n"
 | 
			
		||||
:80 {
 | 
			
		||||
	root * /path/to/html
 | 
			
		||||
	file_server
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:3000 {
 | 
			
		||||
	reverse_proxy grafana:3000
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -29,8 +29,6 @@ services:
 | 
			
		||||
      - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
 | 
			
		||||
      - GF_AUTH_DISABLE_LOGIN_FORM=true
 | 
			
		||||
      - GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
 | 
			
		||||
    ports:
 | 
			
		||||
      - "3000:3000"
 | 
			
		||||
    volumes:
 | 
			
		||||
      - grafana-storage:/var/lib/grafana
 | 
			
		||||
    depends_on:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user