From 2419b9e1cad6b72a3cd74a2ffcf72425c4c9fd40 Mon Sep 17 00:00:00 2001 From: Martyn de Vries Date: Thu, 19 Feb 2026 13:18:07 +0100 Subject: [PATCH] chore: Setup testcontainers to develop from github codespaces --- .devcontainer/devcontainer.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..abd69b1 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,18 @@ +{ + "image": "mcr.microsoft.com/devcontainers/typescript-node:22", + "name": "xiaomi-miio", + "features": { + "ghcr.io/devcontainers-extra/features/claude-code:1": {} + }, + "postCreateCommand": "npm install", + "forwardPorts": [54321], + "portsAttributes": { + "54321": { + "label": "miIO (UDP 54321)", + "onAutoForward": "silent" + } + }, + "hostRequirements": { + "cpus": 2 + } +} \ No newline at end of file