-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add requirements for building docker images and connecting to p…
…eerdb (#508) - Prevent OOM when building docker images - Add compatible psql versions
- Loading branch information
1 parent
55e7183
commit b48507e
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vscode | ||
.env | ||
tmp/ | ||
.envrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,11 @@ git clone --recursive [email protected]:PeerDB-io/peerdb.git | |
cd peerdb | ||
|
||
# Run docker containers: peerdb-server, postgres as catalog, temporal | ||
# Make sure to have at least 5GB of RAM for building PeerDB docker images | ||
export COMPOSE_PROJECT_NAME=peerdb-stack | ||
docker compose up | ||
|
||
# connect to peerdb and query away | ||
# connect to peerdb and query away (Use psql version >=14.0, <16.0) | ||
psql "port=9900 host=localhost password=peerdb" | ||
``` | ||
|
||
|