https://github.com/webfactory/docker-hotfolder
Docker-Image to monitor a directory for new files and HTTP POST them somewhere
https://github.com/webfactory/docker-hotfolder
Last synced: 4 months ago
JSON representation
Docker-Image to monitor a directory for new files and HTTP POST them somewhere
- Host: GitHub
- URL: https://github.com/webfactory/docker-hotfolder
- Owner: webfactory
- Created: 2020-04-07T14:39:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T10:41:27.000Z (7 months ago)
- Last Synced: 2024-12-29T08:26:25.802Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker image to watch a folder and HTTP POST uploaded files
This repository contains a very simple Symfony application to HTTP POST all files from
a given directory that have been modified at least 30 seconds ago to a given URL, and to
move them to an `archive` folder afterwards. And a second command to prune older files
from that archive directory.Started from a shell script in combination with `inotify`, this can be used to do
monitor a directory exported over NFS, SMB or FTP and forward new files to some API endpoint.## Docker Build Process
Since Docker changed their terms of service, we currently do not build images automatically.
## Credits, Copyright and License
This action was written by webfactory GmbH, Bonn, Germany. We're a software development
agency with a focus on PHP (mostly [Symfony](http://github.com/symfony/symfony)). If you're a
developer looking for new challenges, we'd like to hear from you!-
-Copyright 2019 – 2022 webfactory GmbH, Bonn. Code released under [the MIT license](LICENSE).