Actualiser docker-compose.yaml
This commit is contained in:
parent
276a04e0c3
commit
ccdabe5e8a
@ -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 ---
|
# --- Serveur NFS pour les /home ---
|
||||||
nfs:
|
nfs:
|
||||||
image: erichough/nfs-server
|
image: erichough/nfs-server
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user