SourceHut docker-compose files for local development

builds.sr.ht via public-inbox

9 days ago
9 days ago


The first time sr.ht-container-compose is used, sr.ht sources need to be cloned locally:

make init

Then sr.ht can be built and started:

docker compose watch

Any changes to the sr.ht sources will rebuild and reload sr.ht containers as needed.

A default admin "root" is created, with password "root" and a personal access token. A configuration file for hut is available in hut-config.

The following services are included:

By default, all services are started. To only start a subset, specify services of interest as arguments, for instance:

docker compose up --attach-dependencies todo