* Have CI build Docker images for both x86 and ARM. * Add a `bin/rails danbooru:docker:build-arm` command for building a Docker image locally for ARM. Usage: * Test the image: docker run --rm -it --platform linux/arm64 ghcr.io/danbooru/danbooru bash * Build the image: bin/rails danbooru:docker:build-arm * Build the image by hand: git archive HEAD | docker buildx build - --platform linux/amd64 --build-arg SOURCE_COMMIT=$(git rev-parse HEAD) -t danbooru -f Dockerfile --load
Config
This directory contains configuration files for Danbooru.
To configure your Danbooru instance, copy danbooru_default_config.rb to danbooru_local_config.rb and edit it. See danbooru_default_config.rb for details.
The only file here that end users need to be concerned about is danbooru_default_config.rb. The rest of the files here are internal Rails-related configuration files that end users shouldn't need to edit.