Overview
This template provides a production‑ready DolphinDB instance as a Monk runnable. You can:- Run it directly to get a managed DolphinDB container with sensible defaults
- Inherit it in your own runnable to seamlessly add a high-performance time-series database to your stack
What this template manages
- DolphinDB container (configurable image tag)
- Network service on port 8848
- Persistent volumes for data storage
Quick start (run directly)
- Load templates
- Run DolphinDB with defaults
- Customize settings (recommended via inheritance)
variables. Secrets added with monk secrets add will not affect this runnable unless you inherit it and reference those secrets.
- Preferred: inherit and replace variables with
secret("...")as shown below. - Alternative: fork/clone and edit the
variablesindolphindb.yml, thenmonk load MANIFESTand run.
localhost:8848 (or the runnable hostname inside Monk networks) to access the DolphinDB web interface.
Configuration
Key variables you can customize in this template:${monk-volume-path}/dolphindb on the host.
Use by inheritance (recommended for apps)
Inherit the DolphinDB runnable in your time-series application and declare a connection. Example:Ports and connectivity
- Service:
dolphindbon TCP port8848 - From other runnables in the same process group, use
connection-hostname("\<connection-name>")to resolve the DB host.
Persistence and configuration
- Data path:
${monk-volume-path}/dolphindb:/data - DolphinDB stores all databases and time-series data in this directory
Use cases
DolphinDB excels at:- Financial market data analysis
- IoT sensor data processing
- Real-time streaming analytics
- High-frequency trading systems
- Time-series forecasting
Related templates
- Combine with
grafana/for time-series visualization - Integrate with
telegraf/for metrics collection and monitoring
Troubleshooting
- Ensure the host volumes are writable by the container user.
- Check logs: