mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
f0d08ef263
* fix: Remove flag
24 lines
541 B
YAML
24 lines
541 B
YAML
version: "3"
|
|
services:
|
|
dsm:
|
|
container_name: dsm
|
|
image: vdsm/virtual-dsm:latest
|
|
environment:
|
|
DISK_SIZE: "16G"
|
|
RAM_SIZE: "1G"
|
|
CPU_CORES: "1"
|
|
devices:
|
|
- /dev/kvm
|
|
- /dev/net/tun
|
|
- /dev/vhost-net
|
|
device_cgroup_rules:
|
|
- 'c *:* rwm'
|
|
cap_add:
|
|
- NET_ADMIN
|
|
ports:
|
|
- 5000:5000
|
|
volumes:
|
|
- /var/dsm:/storage
|
|
restart: on-failure
|
|
stop_grace_period: 2m
|