mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
25 lines
457 B
YAML
25 lines
457 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
shellclash:
|
|
image: shellclash:latest
|
|
container_name: shellclash
|
|
networks:
|
|
macvlan_lan:
|
|
ipv4_address: 192.168.31.222
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
devices:
|
|
- "/dev/net/tun:/dev/net/tun"
|
|
sysctls:
|
|
net.ipv4.ip_forward: 1
|
|
volumes:
|
|
- /etc/ShellCrash:/root/ShellCrash
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
macvlan_lan:
|
|
external: true
|