Docker
Docker is the easiest way to try out Percolate on your local machine. In the last section it was used for quick setup and here we provide more details
Last updated
Docker is the easiest way to try out Percolate on your local machine. In the last section it was used for quick setup and here we provide more details
Last updated
To run Percolate via docker, first clone the and from the root of the repo -
The credentials to connect to Postgres using your preferred client are in the docker-compose.yaml
You will notice that the port is 5438
and you can connect with postgres:postgres
One useful way to check that the installation scripts ran is to check the watermark with -
Of course, you will truly know Percolate is ready if you can ask it questions -
The installation scripts in the docker compose are used to add extensions and Percolate schema elements to the database. If you wish you can remove some or all of the files in the local /extension/sql.
Among other things, the install adds a number of extension for vector and graph data and also http requests.
The volume percolate_data
is used to mount data.
Here is a reminder of some useful commands when working with Docker containers
docker volume ls
list volumes in use by postgres/percolate
docker stop <container__id>
stop the running container e.g. to free a port
docker rm <container__id>
remove a container e.g. to clean up
docker compose down --volumes
detach volumes in use
docker logs [service]
check logs for one of the services
docker pull hub/image
ensure you have the latest image
docker compose restart percolate-api
example of restarting just one service for example to pull a new image and restart