Add support locale and template

Open
#406 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, postgresql
Domain
database, devops

Research direction

Start by locating how this PostgreSQL container handles initialization environment variables and database creation, then compare the requested locale and template behavior with the PostgreSQL createdb options linked in the issue. Done means users can set both values without customizing the Dockerfile and the resulting database is created with them.

Written by the indexing model from the issue text.

Description

Hello everyone,

I would like to create a database that support template and locale out of the box without customizing the Dockerfile. Is there any environment variable that I can use to pass the locale and template?

createdb oak -l C -T template0

https://www.postgresql.org/docs/12/sql-createdatabase.html

Thanks

Dominant language
PLpgSQL
Stars
178
Forks
220
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sclorg/postgresql-container

All issues in sclorg/postgresql-container

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.