docker run -it ghcr.io/wg-easy/wg-easy wgpw <PASSWORD-HERE>
```
This will return a `PASSWORD_HASH`
- Create a file in the current directory called `.env`
- Add the following values in `.env` file:
```env
PASS='<PASSWORD_HASHgeneratedhere>'
IP=<PUBLICIP>
# Inside single quotations, paste the password hash for PASS variable
# Get your public IP by using something like http://ip.me, and paste your public IP there
```
8. Create and run the containers:
```shell
docker compose up -d
```
9. Check if ntfy.sh is setup correctly:
- Visit `<RASPBERRYPI-IP>:80` from a browser. Make sure Raspberry Pi and the other device are on the same network. On Raspberry Pi, you can visit `localhost:8080`
- If you see a dashboard, it implies Docker and ntfy.sh were setup correctly.
10. In ntfy.sh dashboard, in the left menu at the bottom, click on `Subscribe to topic`, and specify the topic name: `motion-sensing`
> [!NOTE]
> Make sure you're in the directory where you cloned this repo while running all these commands.