Or you could simply install the timescaledb using docker here's how you can do it:
- **Pull the Docker image:**
```
docker pull timescale/timescaledb-ha:pg17
```
- **Run the container**
```
docker run -d --name timescaledb -p 5432:5432 \
-v /your/local/data/path:/pgdata -e PGDATA=/pgdata \
-e POSTGRES_PASSWORD=your_strong_password \
timescale/timescaledb-ha:pg17
```
`-v /your/local/data/path:/pgdata`: Mounts a local directory to persist the database data. Replace `/your/local/data/path` with an appropriate path on your host machine.
Now you are good to go you can connect using postgres client on localhost:5432
Or you could simply install the timescaledb using docker here's how you can do it:
- **Pull the Docker image:**
```
docker pull timescale/timescaledb-ha:pg17
```
- **Run the container**
```
docker run -d --name timescaledb -p 5432:5432 \
-v /your/local/data/path:/pgdata -e PGDATA=/pgdata \
-e POSTGRES_PASSWORD=your_strong_password \
timescale/timescaledb-ha:pg17
```
`-v /your/local/data/path:/pgdata`: Mounts a local directory to persist the database data. Replace `/your/local/data/path` with an appropriate path on your host machine.
Now you are good to go you can connect using postgres client on localhost:5432