Created
October 27, 2025 23:01
-
-
Save allanmedeiros71/881581022df9d0f765a592558447781c to your computer and use it in GitHub Desktop.
qemu-stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| qemu: | |
| image: qemux/qemu | |
| container_name: ${CONTAINER_NAME} | |
| environment: | |
| BOOT: "${BOOT}" | |
| RAM_SIZE: "4G" | |
| CPU_CORES: "2" | |
| DISK_SIZE: "40G" | |
| devices: | |
| - /dev/kvm | |
| - /dev/net/tun | |
| cap_add: | |
| - NET_ADMIN | |
| ports: | |
| - ${REMOTE_PORT}:8006 | |
| - ${SSH_PORT}:22 | |
| volumes: | |
| - ./qemu:/shared | |
| restart: always | |
| stop_grace_period: 2m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment