Install and run FusionInventory Agent with netwok discovery modules
docker-compose.yml
version: "3.9"
services:
fusioninventory-agent-discoverer:
image: "docsvt/fusioninventory-agent-discoverer:latest"
container_name: "fusioninventory-agent-discoverer"
hostname: "fa-discoverer"
ports:
- "62354"
volumes:
- "/volume1/docker/fusioninventory-agent-discoverer/data/conf.d/:/etc/fusioninventory/conf.d/:ro"
environment:
- DEBUG=true
- SERVER=https://glpi.local.lab:8443/plugins/fusioninventory/
- OPTIONS=--no-ssl-check
restart: unless-stopped
Agent include embedded HTTP server on port 62354. Exposing port from command line
docker run --name fusioninventory-agent-discoverer --port 62345:62345/tcp
Exposing port from docker-compose
ports:
- 62345:62345
Add additional FusionInventory Agent option. See manual page
From command line
docker run --name fusioninventory-agent-discoverer --env "OPTIONS=--no-ssl-check"
From docker-compose
enviroment:
- OPTIONS=--no-ssl-check
Point agent to remote server URL (e.g. glpi). Default value http://glpi/plugins/fusioninventory/
From command line
docker run --name fusioninventory-agent-discoverer --env "SERVER=https://glpi.local.lab/plugins/fusioninventory/"
From docker-compose
enviroment:
- SERVER=https://glpi.local.lab/plugins/fusioninventory/
Run agent in debug mode.
From command line
docker run --name fusioninventory-agent-discoverer --env "DEBUG=true"
From docker-compose
enviroment:
- DEBUG=true