Skip to content

Fork of ihatethecloud/filelist-api-whitelist to automate the update of your whitelisted public IP address on your FileList profile page.

License

Notifications You must be signed in to change notification settings

cristacheda/filelist-api-whitelist

 
 

Repository files navigation

filelist-api

Introduction

This is a simple python script which uses a headless browser to update your public IP in FL profile.

How to run

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.

docker-compose.yml

  1. Create secrets:
echo "myUsername" | docker secret create my_username -
echo "myPassword" | docker secret create my_password -
  1. docker-compose.yml
version: '2.1'
services:
    changedetection:
      image: cristacheda/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

Quick and dirty (NOT RECOMMENDED)

Compose file

version: '2.1'
services:
    changedetection:
      image: cristacheda/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

Contributing

Feel free to contribute or report bugs.

About

Fork of ihatethecloud/filelist-api-whitelist to automate the update of your whitelisted public IP address on your FileList profile page.

Resources

License

Stars

Watchers

Forks

Languages

  • Python 92.3%
  • Dockerfile 5.6%
  • Shell 2.1%