Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 902 Bytes

README.md

File metadata and controls

48 lines (39 loc) · 902 Bytes

schedulerlock

This project shows how to use Shedlock spring library to implement a scheduler lock. Know more about scheduler lock and how to create this project step by step in this article: Scheduler Lock Using Shedlock Spring

Run project

With Gradle

Clone the repository:

git clone https://github.com/MarcosCarneiro/schedulerlock.git

Enter the project:

cd ./schedulerlock

Run:

./gradlew bootRun

With Docker:

Clone the repository:

git clone https://github.com/MarcosCarneiro/schedulerlock.git

Enter the project:

cd ./schedulerlock

Build the app:

./gradlew clean build

Build the image:

docker build -t marcoscl/shedlock .

Run the container:

docker run -d --name shedlock -p 8080:8080  marcoscl/shedlock