Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giveth/postgres-givethio
https://github.com/giveth/postgres-givethio
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/giveth/postgres-givethio
- Owner: Giveth
- Created: 2022-09-25T08:07:10.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T10:23:05.000Z (8 months ago)
- Last Synced: 2024-03-13T11:38:12.505Z (8 months ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 0
- Watchers: 10
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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-graphrelated 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
```