macOSWindows

This commit is contained in:
James Turland 2025-07-29 22:16:38 +01:00
parent ae4e124337
commit a51a869cec
2 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,42 @@
services:
macos:
image: dockurr/windows
container_name: windows
environment:
VERSION: "11"
DISK_SIZE: "50G"
RAM_SIZE: "4G"
CPU_CORES: "4"
# DHCP: "Y" # if enabled you must also create a macvlan to place the container on
USERNAME: "james"
PASSWORD: "jimsgarage"
LANGUAGE: "ENGLISH"
REGION: "en-GB"
KEYBOARD: "en-GB"
GPU: "Y"
devices:
- /dev/kvm
- /dev/net/tun
- /dev/dri/renderD128
- /dev/vfio
- /dev/dri/card0
cap_add:
- NET_ADMIN
ports:
- 8007:8006
- 3389:3389/tcp
- 3389:3389/udp
volumes:
- ./windows:/storage
restart: always
stop_grace_period: 2m
networks:
windows:
ipv4_address: 172.70.25.2
networks:
windows:
ipam:
config:
- subnet: 172.70.25.0/29
name: windows

View File

@ -0,0 +1,33 @@
services:
macos:
image: dockurr/macos
container_name: macos
environment:
VERSION: "15"
DISK_SIZE: "50G"
RAM_SIZE: "6G"
CPU_CORES: "4"
# DHCP: "Y" # if enabled you must also create a macvlan to place the container on
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 5900:5900/tcp
- 5900:5900/udp
volumes:
- ./macos:/storage
restart: always
stop_grace_period: 2m
networks:
macos:
ipv4_address: 172.70.20.2
networks:
macos:
ipam:
config:
- subnet: 172.70.20.0/29
name: macos