An open API service indexing awesome lists of open source software.

https://github.com/entando/entando-postgres

Entando Postgres Docker image
https://github.com/entando/entando-postgres

Last synced: 5 months ago
JSON representation

Entando Postgres Docker image

Awesome Lists containing this project

README

          

# PostgreSQL 14.8 SQL Database Server container image
This container image includes PostgreSQL 14.1 SQL database server for general usage. Users can choose between RHEL(ubi8) and Rocky based images.

## Quick Start
* Clone or download this repository
* Go inside of directory, `cd entando-postgres`
* Run this command `docker build -f Dockerfile.rocky8 -t (image:tag) .`
* Run this command `docker build -f Dockerfile.ubi8 -t (image:tag) .`

## Environment variables and volumes
The image recognizes the following environment variables.

```
POSTGRESQL_ADMIN_PASSWORD: The password of the postgres user
POSTGRESQL_USER: Standard user account to be created
POSTGRESQL_PASSWORD: Password for the user account
POSTGRESQL_DATABASE: Database for the user account (automatically created)
```

You can also set the following mount points by passing the `-v /host/dir:/container/dir:Z` flag to Docker.

* `/var/lib/pgsql/data`
PostgreSQL database directory