Skip to content

agiuliano/curl-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Docker curl Timer

You need a way to perform a curl inside a container every TIMER secs? And you don't want to use a cron job, because a Linux based image is too heavy for this work, right? Curl-Timer is your light solution.

Curl Timer is a very light Docker image that let you perform a curl in a configurable amount of time.

You can specify the HTTP_VERB, URL, AUTH_TYPE and AUTH you want to use.

Simply try it:

docker run \ -e HTTP_VERB='POST' \ -e URL='https://example.com' \ -e AUTH_TYPE='Basic' \ -e AUTH='MyToken' \ -e TIMER=600 \ agiuliano/curl-timer 

Or use it in your docker-compose.yml file:

timer: build: agiuliano/curl-timer environment: HTTP_VERB: POST URL: https://example.com AUTH_TYPE: Basic AUTH: MyToken TIMER: 600

About

Curl-timer is a very light Docker image that let you perform a curl in a configurable amount of time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages