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
| Key | Type | Default | Description |
|---|---|---|---|
| args | string[] | ["bash", "-c", "bin/rails db:prepare && bin/rails db:seed && bin/rails server -b 0.0.0.0"] | |
| cron | object | See values.yaml | Configuration for the cron task |
| env | string | See values.yaml | environment variables. See image docs for more details. |
| image.pullPolicy | string | "IfNotPresent" | image pull policy |
| image.repository | string | "ghcr.io/danbooru/danbooru" | image repository |
| image.tag | string | nil | |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| jobs | object | See values.yaml | Configuration for the jobs task |
| persistence.data.accessMode | string | "ReadWriteOnce" | |
| persistence.data.enabled | bool | false | |
| persistence.data.mountPath | string | "/danbooru/public/data" | |
| persistence.data.size | string | "10Gi" | |
| persistence.data.type | string | "pvc" | |
| podSecurityContext.fsGroup | int | 568 | |
| podSecurityContext.runAsGroup | int | 568 | |
| podSecurityContext.runAsNonRoot | bool | true | |
| podSecurityContext.runAsUser | int | 568 | |
| securityContext.allowPrivilegeEscalation | bool | false | |
| securityContext.runAsGroup | int | 568 | |
| securityContext.runAsUser | int | 568 | |
| service | object | See values.yaml | Configures 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdanbooru is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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