[mod] netdata use .env HOSTNAME

This commit is contained in:
Andy Bunce 2023-08-07 15:49:49 +01:00
parent ad133102e3
commit 7ee17da1a8
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ services:
netdata:
image: netdata/netdata
container_name: netdata
#hostname: example.com # set to fqdn of host
hostname: "${HOSTNAME}" # set to fqdn of host
ports:
- 19999:19999
restart: unless-stopped

2
netdata/readme.md Normal file
View File

@ -0,0 +1,2 @@
Requires .env e.g.
HOSTNAME=omv.local