<commit_before>Independent fork by [sameersbn/docker-postgresql](https://github.com/sameersbn/docker-postgresql).

Table of Contents
-------------------

 * [Installation](#installation)
 * [Quick Start](#quick-start)
 * [Persistence](#persistence)
 * [Creating user and database](#creating-user-and-database-at-launch)
 * [Creating a Snapshot or Slave Database](#creating-a-snapshot-or-slave-database)
 * [Search plain text with accent](#enable-unaccent-search-plain-text-with-accent)
 * [Host UID / GID Mapping](#host-uid--gid-mapping)
 * **[Backup of a PostgreSQL cluster](#backup-of-a-postgresql-cluster)**
 * **[Checking backup](#checking-backup)**
 * **[Restore from backup](#restore-from-backup)**
 * [Dumping database](#dumping-database)
 * [Logging](#logging)
 * [Upgrading](#upgrading)
 
> Bolded features are different from [sameersbn/docker-postgresql](https://github.com/sameersbn/docker-postgresql).


Installation
-------------------

 * [Install Docker](https://docs.docker.com/installation/) or [askubuntu](http://askubuntu.com/a/473720)
 * Pull the latest version of the image.
 
```bash
docker pull romeoz/docker-postgresql
```

Alternately you can build the image yourself.

```bash
git clone https://github.com/romeoz/docker-postgresql.git
cd docker-postgresql
docker build -t="$USER/postgresql" .
```

Quick Start
-------------------

Run the postgresql image:<commit_msg>Change "Table of Contents" to README.md.<commit_after>Independent fork by [sameersbn/docker-postgresql](https://github.com/sameersbn/docker-postgresql).

Table of Contents
-------------------

 * [Installation](#installation)
 * [Quick Start](#quick-start)
 * [Persistence](#persistence)
 * [Creating user and database](#creating-user-and-database-at-launch)
 * [Creating a Snapshot or Slave Database](#creating-a-snapshot-or-slave-database)
 * [Search plain text with accent](#enable-unaccent-search-plain-text-with-accent)
 * [Host UID / GID Mapping](#host-uid--gid-mapping)
 * **[Backup of a PostgreSQL cluster](#backup-of-a-postgresql-cluster)**
 * **[Checking backup](#checking-backup)**
 * **[Restore from backup](#restore-from-backup)**
 * [Dumping database](#dumping-database)
 * [Logging](#logging)
 * [Upgrading](#upgrading)
 * [Out of the box](#out-of-the-box)
 
> Bolded features are different from [sameersbn/docker-postgresql](https://github.com/sameersbn/docker-postgresql).


Installation
-------------------

 * [Install Docker](https://docs.docker.com/installation/) or [askubuntu](http://askubuntu.com/a/473720)
 * Pull the latest version of the image.
 
```bash
docker pull romeoz/docker-postgresql
```

Alternately you can build the image yourself.

```bash
git clone https://github.com/romeoz/docker-postgresql.git
cd docker-postgresql
docker build -t="$USER/postgresql" .
```

Quick Start
-------------------

Run the postgresql image:
{'fraction_non_alphanumeric': 0.19039270687237025, 'fraction_numerical': 0.004207573632538569, 'mean_word_length': 4.140540540540541, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1479800', 'n_tokens_mistral': 979, 'n_tokens_neox': 872, 'n_words': 184}