A docker container that runs a cron job, which automatically connects to a vpn, mounts a given file server and copies the specified folders to its filesystem.
This container has to be started with extended privileges. This is due to the container opening vpn tunnels which are only available in the privileged mode.
/srvthe location where all the data will be copied to. Don't forget to mount this folder to your host filesystem to persist the data!
CRON_SCHEDULEThe cron schedule defining when the sync job is run. (Default: 0 9-17 * * *)USERNAMEThe username used for authentication with the VPN client and file sharePASSWORDThe password used for authentication with the VPN client and file shareVPN_URLThe url used by the vpn clientSHARE_PATHthe path which should be mounted inside the docker containerFOLDERSa space seperated list of folders that will be copied to the filesystem