~emersion/sr.ht-container-compose

SourceHut docker-compose files for local development
3 days ago
3 days ago

#sr.ht-container-compose

Warning: this project is not maintained anymore.

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

To pull changes from all repositories:

make pull