Friday, February 25, 2022

Deploying TimescaleDB with Docker

 in This Tutorial you will Learn " Deploying TimescaleDB with Docker On Rocky Linux 8.5"                       
An open-source time-series database optimized for fast ingest and complex queries.
Homepage - http://www.timescale.com/
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; dnf groupinstall "Development Tools" -y
docker-compose --version ; docker --version
docker pull timescale/timescaledb:latest-pg12
docker run -d --name timescaledb-server -p 5432:5432 -e "POSTGRES_PASSWORD=Strongpassword" timescale/timescaledb:latest-pg12

Client - dnf install postgresql -y
psql -h 127.0.0.1 -U postgres

docker container stop b66151e405a56d342a5a288f47e27343ef78b80b619743c61e02ceb3fec6d138
docker container stop timescaledb-server

docker container start b66151e405a56d342a5a288f47e27343ef78b80b619743c61e02ceb3fec6d138
docker container start timescaledb-server

docker logs b66151e405a56d342a5a288f47e27343ef78b80b619743c61e02ceb3fec6d138
docker logs timescaledb-server
__________________________________________________________________________________________

No comments:

Post a Comment