Skip to content

Docker images with postgres for local and production environments.

License

Notifications You must be signed in to change notification settings

wayofdev/docker-postgres

Repository files navigation




Build Status Latest Version Docker Pulls Software License Commits since latest release

Docker Image: PostgreSQL

This image is used together with wayofdev/docker-php-dev and other WOD images, to create local development environment for our projects.

Has built in, enabled support for:

If you like/use this repository, please consider starring it. Thanks!

Screenshot

⚙️ Development

To install dependencies and start development you can check contents of our Makefile

→ Requirments

For testing purposes we use goss and dgoss, follow installation instructions on their official README


→ Building locally

Generating distributable Dockerfiles from yaml source code:

$ make generate

Building default image:

$ git clone [email protected]:wayofdev/docker-postgres.git
$ make build

To build image, test it and then clean temporary files run:

$ make

Building all images:

$ make build TEMPLATE="15-alpine"
$ make build TEMPLATE="14-alpine"

🧪 Testing

Testing default image:

$ make test

To test all images:

$ make test TEMPLATE="15-alpine"
$ make test TEMPLATE="14-alpine"

→ Code quality tools

Run yamllint to validate all yaml files in project:

$ make lint

Run hadolint to validate created Dockerfiles:

$ make hadolint

🤝 License

Licence


🙆🏼‍♂️ Author Information

This repository was created in 2022 by lotyp / wayofdev.


🫡 Contributors