https://github.com/wayofdev/docker-postgres
Docker images with postgres for local and production environments.
https://github.com/wayofdev/docker-postgres
ansible docker postgres
Last synced: 10 months ago
JSON representation
Docker images with postgres for local and production environments.
- Host: GitHub
- URL: https://github.com/wayofdev/docker-postgres
- Owner: wayofdev
- License: mit
- Created: 2021-12-30T00:16:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T20:54:43.000Z (almost 2 years ago)
- Last Synced: 2025-04-12T00:16:04.232Z (10 months ago)
- Topics: ansible, docker, postgres
- Language: Makefile
- Homepage: https://wayof.dev
- Size: 505 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Docker Image: PostgreSQL
This image is used together with [wayofdev/docker-php-dev](https://github.com/wayofdev/docker-php-dev) and other WOD images, to create local development environment for our projects.
Has built in, enabled support for:
* UUID's — covered by uuid-ossp extension
* ULID's — implemented by [custom extension by Dave Allie](https://blog.daveallie.com/ulid-primary-keys)
If you **like/use** this repository, please consider **starring** it. Thanks!

## ⚙️ 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](https://github.com/aelsabbahy/goss/blob/master/extras/dgoss/README.md)
### → Building locally
Generating distributable Dockerfiles from yaml source code:
```bash
$ make generate
```
Building default image:
```bash
$ git clone git@github.com:wayofdev/docker-postgres.git
$ make build
```
To **build** image, **test** it and then **clean** temporary files run:
```bash
$ make
```
Building all images:
```bash
$ make build TEMPLATE="15-alpine"
$ make build TEMPLATE="14-alpine"
```
## 🧪 Testing
Testing default image:
```bash
$ make test
```
To test all images:
```bash
$ make test TEMPLATE="15-alpine"
$ make test TEMPLATE="14-alpine"
```
### → Code quality tools
Run **yamllint** to validate all yaml files in project:
```bash
$ make lint
```
Run hadolint to validate created Dockerfiles:
```bash
$ make hadolint
```
## 🤝 License
[](./LICENSE)
## 🙆🏼♂️ Author Information
This repository was created in **2022** by [lotyp / wayofdev](https://github.com/wayofdev).
## 🫡 Contributors
