-
Notifications
You must be signed in to change notification settings - Fork 104
Docker
Docker builds of cardano-graphql
are available on
DockerHub, built using the root Dockerfile
As the service dependencies are all defined in their own images, the docker-compose.yml is used to provide a self-documenting starting point for your own deployment. It is advised to check a copy into source control, and configure it further to meet your requirements. The default configuration uses the IOHK-managed mainnet config, however you can pass NETWORK=testnet
or mount you own config for complete control.
docker-compose up -d
docker-compose logs -f
The initial sync will take some time, but then you can freely stop, stop, and rebuild the stack if you retain the volumes that persist the node and db state. Once synced, the GraphQL Playground will be fully functional at http://localhost:3100.
docker-compose ps
docker-compose top
docker-compose stop
docker-compose down -v
If you have a port clash on the host, change the mapping in the docker-compose