7
0
Fork
You've already forked radiance-bootstrap
1
Bootstrapper for Radiance deployments https://shirakumo.org/docs/radiance-bootstrap
  • Common Lisp 98.8%
  • Dockerfile 1.2%
Find a file
Yukari Hafner 86c3ec7aea
Some checks failed
ci/woodpecker/push/docker Pipeline failed
ci/woodpecker/tag/docker Pipeline was successful
Expose and volumes
2026年03月06日 00:30:26 +01:00
.woodpecker Some more improvements, dockering. 2026年02月27日 22:26:42 +01:00
bin Sigh. 2026年03月05日 17:13:42 +01:00
docs Doc update 2025年08月21日 16:46:34 +02:00
.gitattributes Update license to zlib. 2019年06月22日 10:17:25 +02:00
boot.lisp Relativise ASDF fasl cache paths 2026年03月05日 13:01:00 +01:00
curl.lisp Implement a CURL based download scheme for safe HTTPS installs. 2026年03月02日 18:53:19 +01:00
Dockerfile Expose and volumes 2026年03月06日 00:30:26 +01:00
http.lisp Fix load order to avoid errors, strip out package definitions to one file. 2017年01月27日 11:30:02 +01:00
impl.lisp Implement a CURL based download scheme for safe HTTPS installs. 2026年03月02日 18:53:19 +01:00
init.lisp Make init.lisp reloadable 2026年03月03日 13:59:52 +01:00
LICENSE Update copyright 2023年07月03日 19:01:49 +02:00
net.lisp Fix load order to avoid errors, strip out package definitions to one file. 2017年01月27日 11:30:02 +01:00
package.lisp Implement a CURL based download scheme for safe HTTPS installs. 2026年03月02日 18:53:19 +01:00
radiance-bootstrap.asd alpine/busybox does not like -a on env/exec. Sigh. 2026年03月05日 08:56:59 +01:00
README.md Expose and volumes 2026年03月06日 00:30:26 +01:00
run.lisp Implement a CURL based download scheme for safe HTTPS installs. 2026年03月02日 18:53:19 +01:00
setup.lisp Some more improvements, dockering. 2026年02月27日 22:26:42 +01:00
start.lisp Sigh. 2026年03月05日 17:13:42 +01:00
url.lisp Fix load order to avoid errors, strip out package definitions to one file. 2017年01月27日 11:30:02 +01:00

About Radiance-Bootstrap

This is a system that offers a single file to bootstrap Radiance deployed installations from. Using ASDF the system can be concatenated down to a single file that can be loaded in. The file will then handle the installation and configuration of a basic setup.

Using It

Download the file and load it in.

curl -L https://shirakumo.org/projects/radiance-bootstrap/raw/branch/master/bin/radiance-bootstrap.lisp | sbcl

It'll ask you some questions about the installation interactively. That's it.

Compiling the Bootstrapper

If you want to generate the full bootstrap file yourself, you can do so like this:

(asdf:operate 'asdf:build-op :radiance-bootstrap)

Migrating from Radiance 1.0 to 2.0

In Radiance 2.0 the way environment directories are handled has changed, which breaks the previous bootstrapper's start script. In order to migrate, you should be able to just replace the start.lisp file with the current one from this repository.

Using Docker/OCI

If you want to create a Docker/OCI image of your setup or a deployment of an application you're working on, you can use the ''codeberg.org/shirakumo/radiance-bootstrap''(link https://codeberg.org/shirakumo/-/packages/container/radiance-bootstrap) image. It ships a completed non-interactive bootstrap. You can then configure it like this:

docker run -it codeberg.org/shirakumo/radiance-bootstrap configure

After configuration, just starting the container will cause it to launch Radiance.

If you want to provide your own module as a standalone docker image, you can compose it like this:

FROMcodeberg.org/shirakumo/radiance-bootstrapCOPY . /radiance/modules/my-moduleCOPY docker.conf.lisp /radiance/config/default/radiance-core/radiance-core.conf.lispRUN sbcl --script /radiance/start.lisp start -qEXPOSE80VOLUME ["/radiance/data/", "/radiance/config/", "/radiance/override/"]ENTRYPOINT /radiance/start.lisp

This copies your current sources over as my-module, a specific default config for the core to select the preferred interfaces, and then runs start with the quit flag to start it up and immediately shut it down. This will compile and cache everything needed.