mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
已添加 docker/compose.yml
This commit is contained in:
24
docker/compose.yml
Normal file
24
docker/compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
Reference in New Issue
Block a user