Metadata-Version: 2.4
Name: ophix-dbengine-postgres
Version: 2026.10.4.1
Summary: PostgreSQL database driver plugin for Ophix Project Servers
Author: Ophix Project
License-Expression: MIT
Project-URL: Homepage, https://ophix.io
Project-URL: Documentation, https://github.com/ophixproject/ophix-dbengine-postgres#readme
Project-URL: Source, https://github.com/ophixproject/ophix-dbengine-postgres
Keywords: django,ophix,postgresql,database
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: ophix-server-base>=2026.06.08.01
Requires-Dist: psycopg2-binary>=2.9

# ophix-dbengine-postgres

**Already running Postgres everywhere else? Your [Ophix](https://ophix.io) server can too.**

Standing up one more database engine just for a fleet-management tool is exactly the kind of avoidable infrastructure sprawl nobody wants. `ophix-dbengine-postgres` lets any Ophix server (creds, tasks, confs, certs, zones) run against the Postgres instance you already operate — install the plugin, set `DB_ENGINE=postgres`, done.

Bundles `psycopg2-binary`.

---

## Installation

```bash
pip install ophix-dbengine-postgres
```

Set in `.env`:

```bash
DB_ENGINE=postgres
DB_HOST=your-postgres-host
DB_PORT=5432
DB_NAME=ophix_db
DB_USER=ophixuser
DB_PASSWORD=yourpassword
```

For TLS, set `DB_SSL_CA` to the path of your CA certificate.
