Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/giveth/postgres-givethio


https://github.com/giveth/postgres-givethio

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

## Postgres givethio

We needed a postgres docker image with enabled pg_cron and pg_trgm so we wrote and publish this docker image
to use it in https://github.com/Giveth/impact-graph

related PR in impact-graph https://github.com/Giveth/impact-graph/pull/658

### Usage
We assumed that the **PGDATA** is `/var/lib/postgresql/data/pgdata` and the DB name is `givethio`, so if you want to use this image in
docker-compose you can use something like this

```
givethio-postgres:
image: ghcr.io/giveth/postgres-givethio:latest
restart: always
environment:
- POSTGRES_DB=givethio
- POSTGRES_USER=yourDesiredUsername
- POSTGRES_PASSWORD=yourDesiredPassword
- PGDATA=/var/lib/postgresql/data/pgdata
```