bugfix:删除源码中wpr相关目录,修改和wpr相关文件

This commit is contained in:
fumingwei
2021-09-01 16:04:46 +08:00
parent 7fa25867b8
commit 07ba7697e9
13 changed files with 11 additions and 150 deletions

View File

@@ -24,27 +24,6 @@ services:
&& nginx
&& tail -f /dev/null"
wpr_server:
image: "wpr-tsg-diagnose:latest"
container_name: "wpr_tsg-diagnose"
tty: true
privileged: true
networks:
vlan_ssl_net:
ipv4_address: 192.0.2.131
ipv6_address: fd00:a1bf:2c3d:ef5a:1e2f:3d4c:56ab:1011
bridge_net:
ipv4_address: 192.51.100.3
volumes:
- /etc/localtime:/etc/localtime:ro
command:
- /bin/sh
- -c
- |
ifconfig eth0 hw ether 02:42:C0:A8:FD:83
arp -i eth0 -s 192.0.2.3 02:42:C0:A8:FD:03
/root/wpr/wpr replay --http_port=80 --https_port=443 --host=0.0.0.0 --quiet_mode /root/wpr/archive.wprgo &
tail -f /dev/null
dns_server:
image: "dns-server-diagnose:latest"
@@ -74,7 +53,6 @@ services:
container_name: "unittest_tsg-diagnose"
depends_on:
- badssl_server
- wpr_server
- dns_server
tty: true
privileged: true
@@ -94,7 +72,6 @@ services:
- -c
- |
/root/unittest/wait-for 192.51.100.2:443 -t 60 -- echo "badssl is up"
/root/unittest/wait-for 192.51.100.3:443 -t 60 -- echo "wpr is up"
ifconfig eth0 hw ether 02:42:C0:A8:FD:03
arp -i eth0 -s 192.0.2.130 02:42:c0:a8:fd:82
arp -i eth0 -s 192.0.2.131 02:42:C0:A8:FD:83