mirror of
https://codeberg.org/gigirassy/niri-dotfiles
synced 2026-08-30 15:19:32 +00:00
Add non-rice/compose-files/macos-qemu/compose.yml
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
macos:
|
||||
image: dockurr/macos
|
||||
container_name: macos
|
||||
environment:
|
||||
# ventura
|
||||
VERSION: "13"
|
||||
# for small screen to reduce load
|
||||
VGA: "std"
|
||||
# cpus aren't dedicated/pinned, they spread as they please and can be used concurrently
|
||||
CPUS: "3"
|
||||
# i got plenty of ram
|
||||
RAM_SIZE: "6G"
|
||||
# fixes a bit of stutter
|
||||
ARGS: "-device usb-tablet"
|
||||
# needed to function
|
||||
devices:
|
||||
- /dev/dri
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
# memory has to be shared
|
||||
shm_size: 6gb
|
||||
# also unfortunately required
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
# web interface, vnc
|
||||
ports:
|
||||
- 8006:8006
|
||||
- 5900:5900/tcp
|
||||
- 5900:5900/udp
|
||||
# storage volume
|
||||
volumes:
|
||||
- ./macos:/storage
|
||||
restart: always
|
||||
stop_grace_period: 2m
|
||||
# dnsforge.de adblocking dns
|
||||
dns:
|
||||
- 49.12.67.122
|
||||
- 2a01:4f8:c013:29d::122
|
||||
Reference in New Issue
Block a user