Datasentinel Docs
Visit our websiteBlogRelease Notes
  • 👋Welcome
  • 🆓Free Trial
  • 📣Release Notes
  • Getting started
    • Architecture
    • Installation
      • 🌐Platform
      • 🕶️Agent
    • PostgreSQL clusters
      • 🔌Extensions
        • 🔌pg_stat_statements
        • 🔌pg_store_plans
        • 🔌system_stats
        • 🔌pg_buffercache
      • 🕶️Monitoring User
      • ➕Adding Connection
    • FAQs
      • ❓Platform FAQ
      • ❓Agent FAQ
  • Features
    • Key Features
      • 📊Session History
      • 📊Top Queries
      • 📂Top Tables
      • 🔓Lock Explorer
      • 📈Cluster & System Metrics
      • ⌚Live360
      • 📰Reporting
      • 🔔Alerting
        • Settings
        • Templates
        • Silences
        • Manager
    • Other Features
      • 📡Agentless Monitoring
      • 🛡️Role Based Access
      • 🔂Changed Parameters
    • Tips & Hints
      • 🖥️User Interface
      • 🏷️Tags
      • 🔀Metric Correlation
      • 👁️‍🗨️Consolidated View
      • ❗Graphical Annotations
      • ☁️Predefined Providers
      • ❓Wait Event Description
      • ®️Read Replicas
      • 👁️‍🗨️Agentless & System Metrics
      • ☑️Simplified pg_instance Display
  • implementation
    • Platform Usage
      • ⚙️Configuration
        • 🔑License
        • 📓LDAP
        • ✉️SMTP
        • 📋Audit
        • 👨‍🏭Users & Roles
      • 🧩API
        • 🔗Access Token
        • 🧩Connection API
        • 🧩Role API
        • 🧩User API
        • 🧩Reporting API
        • 🧩Workload API
        • 🧩Alerting API
      • 🛠️Tooling
    • Agent Usage
      • 📣Release Notes
      • ⌨️CLI
      • 🧩API
      • 🗃️Collection Level
      • 🔬Internals
    • Upgrade
      • 🔄Platform
      • 🔄Agent
    • Troubleshooting
      • 🩺Error message: “502 Bad Gateway”
      • 🩺The UI is not displaying any metrics for my new instance.
      • 🩺UI dashboard is encountering loading errors
      • 🩺InfluxDB
  • Support
    • How to Contact Us
  • GitHub Toolkit
Powered by GitBook
On this page
  1. Getting started
  2. Installation
  3. Alternate Deployments
  4. Docker

Platform

For a Datasentinel deployment within Docker, use docker-compose to download, install, and initiate Datasentinel components.

Last updated 1 year ago

Deploy Platform

wget https://raw.githubusercontent.com/datasentinel/datasentinel_toolkit/master/docker/docker-compose.yml
docker-compose up

Port 443 is exposed by default. Customization is possible as per your requirements.

To connect to the UI:

  • host: https://<<your_host>>

  • user: datasentinel

  • password: datasentinel (Change it at first connection)

Following this, you can proceed with configuring the license key. If you do not have one, you have the option to request a free 30-day trial.

Please refer to the provided instructions for enabling the license key

Metrics are stored in InfluxDB wich can be disk and memory consuming.

Be careful to size your environment accordingly depending on the number of instances to monitor and the retention days you want

The influx_data volume is employed for storing metrics, while the pg_data volume remains small. The nginx_certs volume serves as a repository for certificates used by Nginx.

🆓Free Trial
🔑License
https://github.com/datasentinel/datasentinel_toolkit/blob/master/docker/docker-compose.yml
version: '2.2'
volumes:
  pg_data:
  influx_data:
  nginx_certs:
services:
  postgresql:
    image: datasentinel/datasentinel-postgres
    container_name: datasentinel-postgres
    restart: always
    networks:
        - datasentinel
    volumes:
        - pg_data:/var/lib/postgresql/data
  grafana:
    image: datasentinel/datasentinel-grafana
    container_name: datasentinel-grafana
    networks:
        - datasentinel
    depends_on:
      postgresql:
        condition: service_started
    restart: always
  influxdb:
    image: datasentinel/datasentinel-influxdb
    container_name: datasentinel-influxdb
    restart: always
    networks:
        - datasentinel
    volumes:
        - influx_data:/var/lib/influxdb
  backend:
    image: datasentinel/datasentinel-backend
    container_name: datasentinel-backend
    depends_on:
      influxdb:
        condition: service_started
    networks:
        - datasentinel
    restart: always
  nginx:
    image: datasentinel/datasentinel-nginx
    container_name: datasentinel-nginx
    depends_on:
      backend:
        condition: service_started
      grafana:
        condition: service_started
    restart: always
    networks:
        - datasentinel
    volumes:
        - nginx_certs:/etc/nginx/certs
    ports:
        - 80:80
        - 443:443
networks:
    datasentinel:
        driver: bridge