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

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

parent 48e7a9ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,5 +2,5 @@
  "name": "dsm",
  "service": "dsm",
  "forwardPorts": [5000],
  "dockerComposeFile": "compose.yml"
  "dockerComposeFile": ".github/codespaces.yml"
}

.github/codespaces.yml

0 → 100644
+19 −0
Original line number Diff line number Diff line
services:
  dsm:
    container_name: dsm
    image: vdsm/virtual-dsm
    environment:
      RAM_SIZE: "max"
      DISK_SIZE: "max"
      CPU_CORES: "max"
    devices:
      - /dev/kvm
      - /dev/net/tun
    cap_add:
      - NET_ADMIN
    ports:
      - 5000:5000
    volumes:
      - ./dsm:/storage
    restart: on-failure
    stop_grace_period: 2m