danbooru

by my0n

Helm chartv0.0.2App 9cab67c0ac72a8c52289302c519715ceec2372d9Verified publisher

An unofficial helm chart for danbooru.

About this chart

my0n/danbooru

An unofficial helm chart for danbooru.

This chart is not maintained by the upstream project and any issues with the chart should be raised here.

Example usage

Install the helm chart:

helm repo add my0n https://my0n.github.io/helm-charts
helm repo update
helm install danbooru my0n/danbooru -f values.yaml

See values.yaml for more details.

Values

KeyTypeDefaultDescription
argsstring[]["bash", "-c", "bin/rails db:prepare && bin/rails db:seed && bin/rails server -b 0.0.0.0"]
cronobjectSee values.yamlConfiguration for the cron task
envstringSee values.yamlenvironment variables. See image docs for more details.
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"ghcr.io/danbooru/danbooru"image repository
image.tagstringnil
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
jobsobjectSee values.yamlConfiguration for the jobs task
persistence.data.accessModestring"ReadWriteOnce"
persistence.data.enabledboolfalse
persistence.data.mountPathstring"/danbooru/public/data"
persistence.data.sizestring"10Gi"
persistence.data.typestring"pvc"
podSecurityContext.fsGroupint568
podSecurityContext.runAsGroupint568
podSecurityContext.runAsNonRootbooltrue
podSecurityContext.runAsUserint568
securityContext.allowPrivilegeEscalationboolfalse
securityContext.runAsGroupint568
securityContext.runAsUserint568
serviceobjectSee values.yamlConfigures service settings for the chart.

Deploy danbooru with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has danbooru on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdanbooru is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply