Tuesday, March 1, 2022

Run QuestDB SQL Database with Docker-Compose

 in This Tutorial you will Learn " How To Run QuestDB SQL database with Docker-Compose"

QuestDB is an open source database designed to make time-series lightning fast and easy. It exposes a high performance REST API and is Postgres compatible.
Docker Compose is a tool that was developed to help define and share multi-container applications.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
mkdir questdb ; cd questdb ; nano docker-compose.yml
version: "3"
services:
  questdb:
    image: questdb/questdb
    container_name: docker_questdb
    restart: always
    ports:
      - "8812:8812"
      - "9000:9000"
      - "9009:9009"
      - "9003:9003"
    volumes:
      - ./data/db:/root/.questdb/db
docker-compose up -d
docker ps
http://127.0.0.1:9000
_________________________________________________________________________________________



No comments:

Post a Comment