Platform

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

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.

🆓Free Trial

Please refer to the provided instructions for enabling the license key

🔑License

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.

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

Last updated