services: uptime-kuma-beta: image: louislam/uptime-kuma:2 container_name: uptime-kuma volumes: - ./data:/app/data - /var/run/docker.sock:/var/run/docker.sock - ./mysql/my-custom.cnf:/etc/mysql/mariadb.conf.d/99-custom.cnf:ro # passage en mode host, plus performant et stable. # évite une couche réseau NAT/Bridge entre kuma et internet # ports: # - "82.165.143.163:3001:3001" network_mode: "host" restart: always