Files
bearnet/docker-compose.yml
2026-06-22 12:56:39 +08:00

17 lines
358 B
YAML

# for testing and reference only
services:
cloud:
image: bearcloud:latest
volumes:
- "./data:/image"
- "./test.sh:/test.sh"
devices:
- "/dev/kvm:/dev/kvm"
- "/dev/net/tun:/dev/net/tun"
entrypoint: ["/sbin/tini", "/test.sh"]
cap_add:
- CAP_SYS_ADMIN
- CAP_NET_ADMIN
tty: true
stdin_open: true