Skip to content

Commit b0fadd1

Browse files
committed
Update WPT ips
1 parent 64b23b1 commit b0fadd1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
- NET_ADMIN
3434
network_mode: "host"
3535
extra_hosts:
36-
- "local-app.dev:192.168.0.161"
36+
- "local-app.dev:192.168.0.150"
3737
env_file:
3838
- wpt.env
3939
restart: unless-stopped

docs/wpt-local-ubuntu.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ sudo apt -y install xserver-xorg-core xserver-xorg-video-dummy
1717
**Install WPT agent**
1818

1919
```bash
20-
WPT_DEVICE_NAME="Local Server" WPT_SERVER="192.168.0.161:4000" WPT_LOCATION="Local_Ubuntu" WPT_KEY="location_key_1" DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <(curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
20+
WPT_DEVICE_NAME="Local Server" WPT_SERVER="192.168.0.150:4000" WPT_LOCATION="Local_Ubuntu" WPT_KEY="location_key_1" DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <(curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
2121

2222
# Android
23-
WPT_DEVICE_NAME="Pixel 2XL" WPT_SERVER="192.168.0.161:4000" WPT_LOCATION="Local_Ubuntu_Android" WPT_KEY="location_key_1" AGENT_MODE=android DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <(curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
23+
WPT_DEVICE_NAME="Pixel 2XL" WPT_SERVER="192.168.0.150:4000" WPT_LOCATION="Local_Ubuntu_Android" WPT_KEY="location_key_1" AGENT_MODE=android DISABLE_IPV6=y WPT_EDGE=n WPT_BRAVE=n WPT_EPIPHANY=n bash <(curl -s https://raw.githubusercontent.com/WPO-Foundation/wptagent-install/master/debian.sh)
2424
```
2525

2626
> Replace the `WPT_SERVER` IP with your current local IP address, or the server address.
@@ -47,7 +47,7 @@ docker-compose -f docker-compose.yml -f docker-compose-macos.yml up wpt_server
4747

4848
```
4949
http://localhost:4000/
50-
http://192.168.0.161:4000/
50+
http://192.168.0.150:4000/
5151
```
5252

5353
**Install mkcert and set the same CA as your local**
@@ -58,7 +58,7 @@ To test local dev servers via https you can use mkcert to setup a CA locally, an
5858
5959
1. Install mkcert - https://github.com/FiloSottile/mkcert
6060
2. Follow mkcert install for other systems - https://github.com/FiloSottile/mkcert#installing-the-ca-on-other-systems
61-
3. Edit `/etc/hosts` on the VM to point your local dev URL to your host IP, Ex: `192.168.0.161 local.dev`
61+
3. Edit `/etc/hosts` on the VM to point your local dev URL to your host IP, Ex: `192.168.0.150 local.dev`
6262

6363
Run tests via `https://local.dev`.
6464

@@ -67,7 +67,7 @@ Run tests via `https://local.dev`.
6767
```
6868
sudo modprobe ifb numifbs=1
6969
sudo docker run -d \
70-
-e SERVER_URL="http://192.168.0.161:4000/work/" \
70+
-e SERVER_URL="http://192.168.0.150:4000/work/" \
7171
-e LOCATION="Local_Ubuntu" \
7272
-e KEY="location_key_1" \
7373
-e NAME="Local Ubuntu Desktop" \
@@ -104,7 +104,7 @@ sudo docker run -d \
104104
sudo docker build --tag wptagent .
105105
sudo modprobe ifb numifbs=1
106106
sudo docker run -d --init \
107-
-e SERVER_URL="http://192.168.0.161:4000/work/" \
107+
-e SERVER_URL="http://192.168.0.150:4000/work/" \
108108
-e LOCATION="Local_Ubuntu" \
109109
-e KEY="location_key_1" \
110110
-e NAME="Local Ubuntu Desktop" \

0 commit comments

Comments
 (0)