From ccdabe5e8a03aba3087676a2a1964bcee3352868 Mon Sep 17 00:00:00 2001 From: T0029406 Date: Fri, 3 Apr 2026 11:05:58 +0000 Subject: [PATCH] Actualiser docker-compose.yaml --- docker-compose.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index ecdbb11..f7fc42b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,3 +1,33 @@ +services: + dnsmasq: + image: strm/dnsmasq + container_name: pxe-dnsmasq + network_mode: "host" # Indispensable pour que le DHCP écoute sur eth0 et eth1 nativement + cap_add: + - NET_ADMIN + volumes: + - ./dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf:ro + - ./tftpboot:/var/lib/tftpboot:ro + restart: unless-stopped + + nginx: + image: nginx:alpine + container_name: pxe-http + network_mode: "host" # Pour exposer facilement sur toutes les interfaces + volumes: + - ./www:/usr/share/nginx/html:ro + restart: unless-stopped + +keycloak: + image: quay.io/keycloak/keycloak:latest + command: start-dev # Pour le test, nécessite une config en prod + environment: + KC_DB: dev-file + KEYCLOAK_ADMIN: admin + KEYCLOAK_ADMIN_PASSWORD: admin_password_temporaire + ports: + - "8080:8080" + # --- Serveur NFS pour les /home --- nfs: image: erichough/nfs-server