Open a terminal and navigate (cd) to the directory containing the docker-compose.yml file.
Run the following command:
This command will read the docker-compose.yml in the current directory and start all services in the background.
Verification and Login
After deploying digiRunner, verify that all services are running and log in to the admin console.
Check Container Status
Run the following command in the directory containing the docker-compose.yml file:
Make sure the digirunner-open-source-dgr-1 container shows Up (with running time) in the STATUS field.
First-Time Login to Admin Console
Open a browser and navigate to one of the following URLs:
Locally: http://localhost:31080/dgrv4/login
On a remote server: http://<your-host-ip>:31080/dgrv4/login
Log in using the default admin credentials:
Username: manager
User password: manager123
Upon successful login, you will see the text digiRunner Community displayed in the upper left corner.
Security Tip: After your first login, go to AC User Management > Users and change your password immediately. For details, please refer to SMTP Configuration and Update users.
Management and Maintenance
Use the following commands to manage and maintain digiRunner services.
By default, the open-source version uses an in-memory H2 database. Consequently, all data, including API configurations and user accounts, will be lost when the container stops or restarts.
To retain data permanently (known as “persistence”), follow the steps below to store the database files on your host machine.
Create a File
Manually create a file named docker-compose.yaml in your preferred project directory.
Add YAML Configuration
Paste the following content into your newly created file:
Explanation of Configuration
Data Persistence : Maps your local db folder to digiRunner’s database path. All changes are saved in real time. Place the folder at the same directory level as docker-compose.yml.
Smart Initialization : Checks whether a .db file exists.
On first startup, with an empty db folder, it triggers database creation.
On subsequent restarts, with an existing .db file, it prevents reinitialization and preserves the existing data.
Start the Services
Open a terminal, and navigate to the directory containing the docker-compose.yml file.
Run the following command:
After the command completes, a db folder will be created containing dgrdb.mv.db, which is your persistent database file.
Troubleshooting
Basic Troubleshooting Steps
If you encounter issues after installing digiRunner, follow these steps:
Step 1. Check Container Status
Run the following command to list all containers, including stopped ones:
Check the STATUS field for the tpi-digirunner container. It should display Up. If it shows Exited, a startup failure has occurred.
Step 2. View Logs
If the container is Up but not functioning properly, run the following command to stream real-time logs and identify application-level issues:
Step 3. Restart Container
If the container is unresponsive or needs a reset, run the following commands to restart it:
After restarting, repeat Steps 1 and 2 to verify functionality.
Common Issues to Check
Is Docker installed?
Run docker info to confirm.
Is Docker Compose installed?
Run docker compose version to confirm.
Backup and Reinstall
If the container continues to crash or logs show critical errors, back up important files, such as config and the database file, delete the faulty containers, and rerun the setup.