From 2d21f714c34bce122b3fc28df95b45393d19b9c7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 15 Oct 2025 11:53:22 +0200 Subject: [PATCH] feat: Add custom .yml for Github Codespaces (#342) --- .devcontainer.json | 2 +- .github/codespaces.yml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/codespaces.yml diff --git a/.devcontainer.json b/.devcontainer.json index 85d8a07..16e2a0e 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -2,5 +2,5 @@ "name": "macos", "service": "macos", "forwardPorts": [8006], - "dockerComposeFile": "compose.yml" + "dockerComposeFile": ".github/codespaces.yml" } diff --git a/.github/codespaces.yml b/.github/codespaces.yml new file mode 100644 index 0000000..a11c0da --- /dev/null +++ b/.github/codespaces.yml @@ -0,0 +1,22 @@ +services: + macos: + image: dockurr/macos + container_name: macos + environment: + VERSION: "14" + RAM_SIZE: "max" + DISK_SIZE: "max" + CPU_CORES: "max" + devices: + - /dev/kvm + - /dev/net/tun + cap_add: + - NET_ADMIN + ports: + - 8006:8006 + - 5900:5900/tcp + - 5900:5900/udp + volumes: + - ./macos:/storage + restart: on-failure + stop_grace_period: 2m