deprecation
Promscale has been discontinued. We strongly recommend that you do not use Promscale in a production environment. Learn more.
You can use Docker to install TimescaleDB with the Promscale extension, and the Promscale Connector. The Docker images are available for download from Docker Hub.
The TimescaleDB images have a suffix that
indicates the version of PostgreSQL
and TimescaleDB. For example, the tag
pg14.2-ts2.6.1-latest
includes
PostgreSQL 14.2
and TimescaleDB
2.6.1
. pg14-latest
is
the latest image
available for PostgreSQL version 14. Reference the
appropriate images when
deploying Promscale and follow the instructions
provided by your container
platform. If you are using Kubernetes follow
these
instructions instead.
important
Running Promscale directly using
docker run
is not recommended
for production environments. This can be
useful for testing purposes and is just
provided as an example.
Before you begin, you must have Docker installed on your local system. For packages and instructions, see the Docker installation documentation.
-
Use Docker to create a network for Promscale and TimescaleDB:
docker network create --driver bridge promscale -
Install TimescaleDB in a Docker container on a network named
promscale
. It also port forwards to port5432
on your local system:docker run --name timescaledb -e POSTGRES_PASSWORD=<password> \-e TSTUNE_PROFILE=promscale \-d -p 5432:5432 \--network promscale \timescale/timescaledb-ha:pg14-latest \postgres -csynchronous_commit=off -
Run the Promscale Connector Docker container on a network named
promscale
. It also port forwards to port9201
on your local system:docker run --name promscale -d -p 9201:9201 \--network promscale timescale/promscale:latest \-db.password=<password> \-db.port=5432 \-db.name=postgres \-db.host=timescaledb \-db.ssl-mode=allow
For upgrading the Promscale, see the [upgrade] section.