Core Setup
To run Monitor Core, you will need:
- A valid configuration file.
- An instance of MongoDB to which Core can connect.
- Docker must be installed on the host.
1. Create the configuration file
Create a configuration file on the system, for example at ~/.config/monitor/core.config.toml, and copy the example config. Fill in all the necessary information before continuing.
Most configuration can additionally be passed using environment variables, which override the value in the config file. See config docs.
2. Start monitor core
Monitor core is distributed via dockerhub under the public repo mbecker2020/monitor_core.
docker run -d --name monitor-core \
-v $HOME/.monitor/core.config.toml:/config/config.toml \
-p 9000:9000 \
mbecker2020/monitor_core
First login
Core should now be accessible on the specified port, so navigating to http://<address>:<port> will display the login page.
The first user to log in will be auto enabled and made admin. any additional users to create accounts will be disabled by default.
Tls
Core itself only supports http, so a reverse proxy like caddy should be used for https.