Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grmvoid/docker-postgres
🐳 Docker image for Postgres
https://github.com/grmvoid/docker-postgres
docker docker-image docker-postgres dockerfile postgres
Last synced: 6 days ago
JSON representation
🐳 Docker image for Postgres
- Host: GitHub
- URL: https://github.com/grmvoid/docker-postgres
- Owner: grmvoid
- License: mit
- Created: 2023-09-28T03:00:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-13T04:29:21.000Z (25 days ago)
- Last Synced: 2025-01-13T05:25:08.213Z (25 days ago)
- Topics: docker, docker-image, docker-postgres, dockerfile, postgres
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/grmvoid/postgres
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Quick reference
- **Image based on**:
[alpine](https://hub.docker.com/_/alpine)- **Supported architectures**:
`linux/amd64`, `linux/arm64`- **Maintained by**:
[grmvoid](https://github.com/grmvoid)- **Where to file issues**:
[https://github.com/grmvoid/docker-postgres/issues](https://github.com/grmvoid/docker-postgres/issues?q=)## Supported tags and respective `Dockerfile` links
- [`17.2`, `17`](https://github.com/grmvoid/docker-postgres/blob/master/17/Dockerfile)
## How to use this image
### start a postgres instance
```bash
$ docker run --name postgres -d grmvoid/postgres:17.2
```### ... via [`docker-compose`](https://github.com/docker/compose)
Example `docker-compose.yml` for `postgres`:```yaml
services:
postgres:
image: grmvoid/postgres:17.2
restart: always
ports:
- "5432:5432"
```## Environment Variables
The postgres image uses several environment variables which are easy to miss.
| Variable | Default Value | Description |
|----------|---------------|-------------|
| `PGDATA` | | |## LICENSE
View [license](https://www.postgresql.org/about/licence/) information for the software contained in this image.