The vpn_reminder tool is designed to check whether a Slack user has their VPN activated. With this tool running continuously, users can ensure that they aren't accessing services from prohibited countries, thus avoiding potential access issues.
-
Ensure you have the
.envfile prepared with the following variables:SLACK_TOKEN=<token>- Your Slack API workspace client tokenSLACK_CHANNEL=<token>- The Slack chat client token
-
It's essential to have Docker installed on your machine.
- First, clone the repository:
git clone https://github.com/stickandstone/vpn_reminder.git && cd vpn_reminder-
Next, create the
.envinside in the repo folder file with the variables mentioned above. -
Then, build the Docker image:
docker build -t vpn_reminder . 4.Finally, run the Docker container:
docker run -d --env-file .env --name vpn_reminder vpn_reminderThe service should now be active and monitoring as expected. If there are any issues, please review your configuration and setup. And don't hesitate to contact me if you have any questions.