[mod] netdata use .env HOSTNAME
This commit is contained in:
		
							parent
							
								
									ad133102e3
								
							
						
					
					
						commit
						7ee17da1a8
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -3,7 +3,7 @@ services:
 | 
				
			||||||
  netdata:
 | 
					  netdata:
 | 
				
			||||||
    image: netdata/netdata
 | 
					    image: netdata/netdata
 | 
				
			||||||
    container_name: netdata
 | 
					    container_name: netdata
 | 
				
			||||||
    #hostname: example.com # set to fqdn of host
 | 
					    hostname: "${HOSTNAME}" # set to fqdn of host
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
      - 19999:19999
 | 
					      - 19999:19999
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								netdata/readme.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								netdata/readme.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					Requires .env e.g.
 | 
				
			||||||
 | 
					HOSTNAME=omv.local
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue