Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adyanth/psqlmin
PostgreSQL with Webmin
https://github.com/adyanth/psqlmin
management postgres postgresql webmin
Last synced: 9 days ago
JSON representation
PostgreSQL with Webmin
- Host: GitHub
- URL: https://github.com/adyanth/psqlmin
- Owner: adyanth
- License: agpl-3.0
- Created: 2024-10-07T00:51:19.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-08T10:11:38.000Z (12 days ago)
- Last Synced: 2024-11-08T10:35:12.969Z (12 days ago)
- Topics: management, postgres, postgresql, webmin
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PSQLMIN: Postgres + Webmin
[![ci](https://github.com/adyanth/psqlmin/actions/workflows/docker.yaml/badge.svg)](https://github.com/adyanth/psqlmin/actions/workflows/docker.yaml)
[![GitHub license](https://img.shields.io/github/license/adyanth/psqlmin?color=brightgreen)](https://github.com/adyanth/psqlmin/blob/main/LICENSE)
[![GitHub forks](https://img.shields.io/github/forks/adyanth/psqlmin)](https://github.com/adyanth/cloudflare-operator/network)
[![GitHub stars](https://img.shields.io/github/stars/adyanth/psqlmin)](https://github.com/adyanth/cloudflare-operator/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/adyanth/psqlmin)](https://github.com/adyanth/psqlmin/issues)
[![Dockerhub](https://img.shields.io/badge/package-darkblue?style=flat&logo=docker&link=https%3A%2F%2Fhub.docker.com%2Fr%2Fadyanth%2Fpsqlmin)](https://hub.docker.com/r/adyanth/psqlmin)
[![Github Packages](https://img.shields.io/badge/package-gray?style=flat&logo=github)
](https://github.com/adyanth/psqlmin/pkgs/container/psqlmin)All I wanted was a simple management UI for postgres where I can add tables and give users permissions on those tables.
My usecase was to run a postgres server on my NAS letting all other apps use it as a central database.Enter `psqlmin`.
## Build
To build, run the command on the cloned repo, optionally setting the postgres version tag to use. This is only tested with ubuntu versions of postgres
```bash
docker build [--build-arg PG_VERSION=17-bullseye] -t psqlmin .
```## Configurable `ENV` variables
The following can be overriden at runtime by setting the env vars on the container:
* `WEB_USERNAME`: Defaults to postgres. Not related to the DB
* `WEB_PASSWORD`: Defaults to postgres.
* `WEB_PORT`: Defaults to 8080See [postgres instructions](https://hub.docker.com/_/postgres) for postgres related configuration.
## Run
Try running the container with:
```bash
docker run \
-p 8080:8080 \
-p 5432:5432 \
-e POSTGRES_PASSWORD=password \
-e WEB_USERNAME=root \
-e WEB_PASSWORD=pass \
-e WEB_PORT=8080 \
-d adyanth/psqlmin
```You should be able to open [http://127.0.0.0:8080](http://127.0.0.1:8080) and login with root:pass to see and manage your databases.