Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

322
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda