Container Installation

Quick Start

The simplest installation can be started with just:

docker run \
-d \
-p 80:80 \
ghcr.io/sbaildon/scouter-analytics:v0.13.1

With this this you can access the dashboard at http://localhost, but no services have been defined yet.

Declaring services

Scouter Analytics reads services defined in /usr/share/scouter/analytics/services.d/*.conf and /etc/scouter/analytics/services.d/*.conf, with /etc/ taking prescidence in the case of naming conflicts.

Define a service

Create a directoty to collate services:

mkdir -p services.d

And then create a service

# services.d/example.conf
[Service]
Name=example.mydomain
[Matcher]
Type=wildcard
Value=*.domain.example
[Matcher]
Type=exact
Value=domain.example

Mount services into the container

docker run \
-d \
-p 80:80 \
-v $(pwd)/services:/usr/share/scouter/analytics/services.d \
ghcr.io/sbaildon/scouter-analytics:v0.13.1