Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

320
Views
TimescaleDB in Container

I need help to write Dockerfile to create TimescaleDB in a container. I found this instruction for creating a container:

docker run -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password timescale/timescaledb:latest-pg12

But I want to be able to specify the login and data base name and run creation with pipeline.

Thanks.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I guess you use a docker image from timescale/timescaledb. The Dockerfile used to build these images is public in GH repo timescale/timescaledb-docker. TimescaleDB docker image is based from postgres-alpine and thus inherits entrypoint from there. The description of postgres image presents available environment variables, which can be used during new container start. It includes POSTGRES_DB, which can be used to specify the database to create on start. If the available options is not enough, the entrypoint can be redefined by using option --entrypoint for docker run command.

Summary:

  • use postgres image environment variables to provide your options, since timescaledb image inherits entrypoint from Postgres-alpine.
  • provide custom entrypoint with docker run --entrypoint, see the doc.
  • the dockerfile of TimescaleDB is available public.

Note that Timescale also provides docker image of TimescaleDB with HA for k8s. This one doesn't inherit from postgres and contains own entrypoint.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!