Unverified Commit 1e3b2c2b authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Add custom .yml for Github Codespaces (#901)

parent 4d225aca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,5 +2,5 @@
  "name": "qemu",
  "service": "qemu",
  "forwardPorts": [8006],
  "dockerComposeFile": "compose.yml"
  "dockerComposeFile": ".github/codespaces.yml"
}

.github/codespaces.yml

0 → 100644
+20 −0
Original line number Diff line number Diff line
services:
  qemu:
    image: qemux/qemu
    container_name: qemu
    environment:
      BOOT: "mint"
      RAM_SIZE: "max"
      DISK_SIZE: "max"
      CPU_CORES: "max"
    devices:
      - /dev/kvm
      - /dev/net/tun
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
    volumes:
      - ./qemu:/storage
    restart: always
    stop_grace_period: 2m