Developing in Docker

When developing with docker, you’ll want to get familiar with how to deploy the system using Docker.

Each part of the deps.cloud ecosystem has an associated docker target that builds a container. This container can be used with the docker deployment configuration to test changes locally.

Repository Path Target
depscloud/depscloud /extractor npm run docker
depscloud/depscloud /gateway make docker
depscloud/depscloud /indexer make docker
depscloud/depscloud /tracker make docker

Once you’ve produced an image containing your local changes, you can easily update your stack to pick up the new image.

docker-compose up -d

Last modified October 26, 2020: darken up lines (141fe72)