Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docker support. #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,22 @@ Then, in your database:
create extension pg_rational;
```

### Docker Image
```bash
docker pull mnafisiasl/be-rational-postgres:15.2
```

be-rational-postgres is Postgres official image with pg_rational installed.

[GitHub Repo](https://github.com/MRNafisiA/be-rational-postgres)
[Docker Repo](https://github.com/MRNafisiA/be-rational-postgres)

pg_rational is only installed, so do not forget to enable it:

```sql
create extension pg_rational;
```

### Caveats

The `rational_intermediate` function is super fast on typical intervals, but the narrower the range between arguments the longer it takes. We may want to add a max search depth parameter to prevent malicious values from hogging the server.
Expand Down