shorturl
Self hosted web app for shortening urls (URL shortener)
About this chart
shorturl
Self hosted web app for shortening urls (URL shortener)
Requirements
Dependencies
| Repository | Name | Version |
|---|---|---|
| https://nicholaswilde.github.io/helm-charts/ | common | ~0.1.13 |
TL;DR
$ helm repo add nicholaswilde https://nicholaswilde.github.io/helm-charts/
$ helm repo update
$ helm install shorturl nicholaswilde/shorturl
Installing the Chart
To install the chart with the release name shorturl:
helm install shorturl nicholaswilde/shorturl
Uninstalling the Chart
To uninstall the shorturl deployment:
helm uninstall shorturl
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
helm install shorturl \
--set env.TZ="America/New York" \
nicholaswilde/shorturl
The urls.db sqlite file is located in the /data folder.
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
helm install shorturl nicholaswilde/shorturl -f values.yaml
| user | uid |
|---|---|
| abc | 1000 |
Troubleshooting
See Wiki.
Author
This project was started in 2021 by Nicholas Wilde.
Autogenerated from chart metadata using helm-docs v1.5.0
Deploy shorturl with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has shorturl 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 chartshorturl is pinned at v1.0.0 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