Run scheduled jobs in a distributed environment without worrying about a single point of failure. This workload automation service operates like a traditional cron system but is designed for modern, clustered applications. It ensures your scheduled tasks run reliably, even if a server node goes down. By using the Raft protocol, the system achieves true high availability with automatic leader election and failover, requiring no manual intervention.
Integrating with your existing workflows is straightforward thanks to a simple JSON API and an intuitive web-based dashboard for managing jobs.
Key capabilities include:
It is an ideal solution for tasks like recurring invoicing, data consolidation for BI, payroll generation, and automated data transfers.
services:
dkron:
image: dkron/dkron:latest
container_name: dkron
command: agent --server --bootstrap-expect=1 --data-dir=/dkron.data
ports:
- "8080:8080"
- "8946:8946"
- "8946:8946/udp"
volumes:
- ./dkron-data:/dkron.data
environment:
- DKRON_ENCRYPT=${DKRON_ENCRYPT}
restart: unless-stopped# 32-byte Base64 encoded key for Serf gossip encryption
# You can generate a valid key using the command: dkron keygen
DKRON_ENCRYPT=your_super_secret_base64_key_here=Auto-fetched about 23 hours ago
Auto-fetched about 23 hours ago