cat > /root/uptime/docker-compose.yml << EOF
services:
uptime-kuma:
image: louislam/uptime-kuma:beta
container_name: uptime-kuma
restart: always
network_mode: host
environment:
HOST: "127.0.0.1"
PORT: 3001
volumes:
- ./data:/app/data
- /run/docker.sock:/run/docker.sock
EOF