All Projects → stellirin → docker-postgres-windows

stellirin / docker-postgres-windows

Licence: MIT license
No description or website provided.

Programming Languages

Batchfile
5799 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-postgres-windows

docker-compose-moodle
This project quickly builds a local workspace for Moodle (Apache2, PHP-FPM with XDEBUG y Postgres) using containers for each of its main components. The local workspace is built and managed by Docker Compose
Stars: ✭ 33 (+73.68%)
Mutual labels:  postgres, container
Docker Django
A complete docker package for deploying django which is easy to understand and deploy anywhere.
Stars: ✭ 378 (+1889.47%)
Mutual labels:  postgres, container
fastfreeze
Turn-key solution to checkpoint/restore applications running in Linux containers
Stars: ✭ 68 (+257.89%)
Mutual labels:  container
teanjs
🔥 TypeORM - Express - Angular 8 - NestJS Server Side Rendering (SSR) 😺
Stars: ✭ 62 (+226.32%)
Mutual labels:  postgres
Serilog.Sinks.Postgresql.Alternative
Serilog.Sinks.Postgresql.Alternative is a library to save logging information from https://github.com/serilog/serilog to https://www.postgresql.org/.
Stars: ✭ 29 (+52.63%)
Mutual labels:  postgres
restria
Entria's REST API boilerplate
Stars: ✭ 25 (+31.58%)
Mutual labels:  postgres
mathesar
Web application providing an intuitive user experience to databases.
Stars: ✭ 95 (+400%)
Mutual labels:  postgres
www-react-postgres
A complete template for 2022 focused on around React, Postgres and various web3 integrations. You can use the template to make a website, a web application, a hybrid decentralized web application, or even a DAO.
Stars: ✭ 36 (+89.47%)
Mutual labels:  postgres
pg-audit-json
Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.
Stars: ✭ 34 (+78.95%)
Mutual labels:  postgres
fastapi-starter
A FastAPI based low code starter: Async SQLAlchemy, Postgres, React-Admin, pytest and cypress
Stars: ✭ 97 (+410.53%)
Mutual labels:  postgres
docker-garby
Just another Docker maintenance script, managing garbage collection of Docker containers and images.
Stars: ✭ 36 (+89.47%)
Mutual labels:  container
benchmark
Parse Server Continuous Benchmark
Stars: ✭ 21 (+10.53%)
Mutual labels:  postgres
next-postgres
A minimal example web application using NextJS 12.0.7, Postgres 11, Google OAuth2 and other useful libraries.
Stars: ✭ 72 (+278.95%)
Mutual labels:  postgres
amcheck
contrib/amcheck from Postgres v11 backported to earlier Postgres versions
Stars: ✭ 74 (+289.47%)
Mutual labels:  postgres
httptest
A simple concurrent HTTP testing tool
Stars: ✭ 42 (+121.05%)
Mutual labels:  container
kuwala
Kuwala is the no-code data platform for BI analysts and engineers enabling you to build powerful analytics workflows. We are set out to bring state-of-the-art data engineering tools you love, such as Airbyte, dbt, or Great Expectations together in one intuitive interface built with React Flow. In addition we provide third-party data into data sc…
Stars: ✭ 474 (+2394.74%)
Mutual labels:  postgres
glific
The Main application that provides the core interface via the glific APIs
Stars: ✭ 110 (+478.95%)
Mutual labels:  postgres
singularityhub.github.io
Container tools for scientific computing! Docs at https://singularityhub.github.io/singularityhub-docs
Stars: ✭ 68 (+257.89%)
Mutual labels:  container
github-ci
An example GitHub Action (CI) to build a Singularity container
Stars: ✭ 46 (+142.11%)
Mutual labels:  container
astro
Astro allows rapid and clean development of {Extract, Load, Transform} workflows using Python and SQL, powered by Apache Airflow.
Stars: ✭ 79 (+315.79%)
Mutual labels:  postgres

This repository is archived!

I no longer have a need for PostgreSQL as a Windows container so I will not continue to maintain this repository.

If anyone still has a use case for this kind of container image I recommend to reimplement the refactored upstream entrypoint shell script in PowerShell. Batch script probably cannot be used without a lot of ugly hacks.

Supported tags and Dockerfile links

The above tags are manifest tags that consist of a set builds based on all available nanoserver releases, specifically:

  • nanoserver:1909
  • nanoserver:1903
  • nanoserver:1809
  • nanoserver:1803 (EOL 2019-11-12)
  • nanoserver:1709 (EOL 2019-04-09)
  • nanoserver:sac2016 (EOL 2018-10-09)

Your Docker client should pull down the correct image.

Quick reference

What is PostgreSQL?

logo

How to use this image

$ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d stellirin/postgres-windows

This image includes EXPOSE 5432 (the postgres port), so standard container linking will make it automatically available to the linked containers. The default postgres user and database are created in the entrypoint with initdb.

Extended use

For further details about usage see the official PostgreSQL container image.

About this container image

A Windows container to run PostgreSQL based on the EnterpriseDB distribution, which is found on the PostgeSQL for Windows download page.

This repository builds a Windows based Docker image that is functionaly similar to the official Linux based Docker image.

Testing

The resulting image has been (minimally) tested with a proprietary enterprise Java application. This image accepts typical SQL files, it can use TLS certificates in PEM format, and it allows the Java application to connect securely and process data.

So far, no differences in behaviour have been observed compared to the official Linux based container.

Motivation

The Linux based Docker image cannot run on Windows as a LCOW container. This is due to differences in functionality between the NTFS and EXT4 file systems. Specifically, Linux commands such as chown do not work but the PostgreSQL images rely on them for security.

Entrypoint

The entrypoint is written as a batch script because the database is run on windows/nanoserver, which doesn't have PowerShell. Writing the entrypoint script was challenging due to batch script limitations, but this gives us a base image of less than 450MB versus nearly 5GB when windows/servercore is used.

The Dockerfile and the docker-entrypoint.cmd were strongly inspired by the equivalent files for the official Linux based Docker images. There are some minor deviations, but this is mostly to work around differences in batch script behaviour.

Licence

The files here are under the MIT licence, the same as the regular docker-library/postgres docker files. Just like docker-library/postgres, the licence here covers only the files in this repository. It doesn't cover the PostgreSQL distribution, which has its own licence.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].