A tailored Docker image for PostgreSQL, offering enhanced features and flexibility.
1.0K
This repository contains a customized Docker image for PostgreSQL, built to cater to specific requirements and use cases, while leveraging the robustness of the official PostgreSQL image as its base.
Multiple Databases: The image allows to create multiple databases at the same time by setting the POSTGRES_DATABASES environment variable with a comma-separated list of database names.To use this image, you can run the following command:
docker run -d -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DATABASES=db1,db2 -p 5432:5432 --name my-postgres-container sotberd/postgres:latest
This command will create a new container with the following features:
postgres and the password is postgres.db1 and db2 will be created.Contributions are welcome! If you have suggestions, enhancements, or bug fixes, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
Content type
Image
Digest
sha256:a1c8cdaab…
Size
143.2 MB
Last updated
over 2 years ago
docker pull sotberd/postgres