This is a simple python script which uses a headless browser to update your public IP in FL profile.
- Install Docker on Raspberry Pi
- Clone this repository && change directory
- Build the docker image by running the commands:
chmod +x build.sh
./build.sh
The recommended way using docker-compose.yml requires docker swarm to create secrets. For a more crude and slightly insecure method, use the Quick and dirty instructions.
- Create secrets:
echo "myUsername" | docker secret create my_username -
echo "myPassword" | docker secret create my_password -
- docker-compose.yml
version: '2.1'
services:
changedetection:
image: raspberry-pi-filelist-api-whitelist
container_name: filelist-api-whitelist
environment:
- FL_USERNAME=/run/secrets/my_username
- FL_PASSWORD=/run/secrets/my_password
- CHECK_INTERVAL=10 #in minutes I suggest putting more than 5 minutes.
restart: unless-stopped
Compose file
version: '2.1'
services:
changedetection:
image: raspberry-pi-filelist-api-whitelist
container_name: filelist-api-whitelist
environment:
- FL_USERNAME=your_username
- FL_PASSWORD=your_password
- CHECK_INTERVAL=10 #in minutes I suggest putting more than 5 minutes.
restart: unless-stopped
Feel free to contribute or report bugs.