From 0b86b1078ca3e02c0942f7702741d7097be5e035 Mon Sep 17 00:00:00 2001 From: Semaphore Date: Tue, 17 Feb 2026 15:11:39 +0000 Subject: [PATCH] feat: ajout GLPI Agent docker compose --- glpi-agent/docker-compose.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 glpi-agent/docker-compose.yml diff --git a/glpi-agent/docker-compose.yml b/glpi-agent/docker-compose.yml new file mode 100644 index 0000000..b3d83db --- /dev/null +++ b/glpi-agent/docker-compose.yml @@ -0,0 +1,30 @@ +--- +services: + glpi-agent: + image: rdrit/glpi-agent:latest + container_name: glpi-agent + restart: unless-stopped + network_mode: host + + environment: + - GLPI_SERVER=http://192.168.123.22:8082 + - GLPI_SERVER_NO_SSL_CHECK=true + - GLPI_TAG=${HOSTNAME} + - GLPI_HTTPD=1 + - GLPI_HTTPD_PORT=62354 + - GLPI_HTTPD_TRUST=192.168.123.0/24 + - GLPI_LAZY=0 + - GLPI_DELAYTIME=3600 + + volumes: + - /etc:/hostfs/etc:ro + - /proc:/hostfs/proc:ro + - /sys:/hostfs/sys:ro + - /var/lib/dpkg:/hostfs/var/lib/dpkg:ro + + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:62354"] + interval: 60s + timeout: 10s + retries: 3 + start_period: 30s