{"id":17006117,"url":"https://github.com/duologic/ghost-dromomania","last_synced_at":"2026-05-08T15:12:25.512Z","repository":{"id":69804240,"uuid":"191137775","full_name":"Duologic/ghost-dromomania","owner":"Duologic","description":"Kubernetes setup for Dromomania on Digital Ocean","archived":false,"fork":false,"pushed_at":"2020-05-20T08:39:19.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T10:49:49.901Z","etag":null,"topics":["digitalocean","flux","ghost","helm","kubernetes","terraform"],"latest_commit_sha":null,"homepage":"https://dromomania.be/","language":"HCL","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Duologic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-10T09:29:31.000Z","updated_at":"2019-10-01T10:13:40.000Z","dependencies_parsed_at":"2023-06-15T07:45:27.476Z","dependency_job_id":null,"html_url":"https://github.com/Duologic/ghost-dromomania","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"78802ae01e89e2a2453527d6e6064f33bf57f394"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Duologic/ghost-dromomania","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fghost-dromomania","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fghost-dromomania/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fghost-dromomania/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fghost-dromomania/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duologic","download_url":"https://codeload.github.com/Duologic/ghost-dromomania/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fghost-dromomania/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264930852,"owners_count":23684935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["digitalocean","flux","ghost","helm","kubernetes","terraform"],"created_at":"2024-10-14T05:05:02.345Z","updated_at":"2026-05-08T15:12:20.469Z","avatar_url":"https://github.com/Duologic.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghost blog for Dromomania\n\nThis repo contains Kubernetes configuration setting up a Ghost blog for [Dromomania](https://dromomania.be) on Digital Ocean.\n\n## Repo structure\n\n* `kubernetes/` [Managing Helm releases the GitOps way](https://www.weave.works/blog/managing-helm-releases-the-gitops-way).\n* `terraform/` Bootstrap the k8s cluster with Terraform on Digital Ocean\n\n## Requirements\n\nInstall these tools with your favorite package manager:\n\n* `terraform`\n* `doctl`\n* `kubectl`\n* `helm`\n\nYou should have a Digital Ocean API token available for `doctl` and `terraform`.\n\n## Installation steps\n\nThis should bootstrap the environment, Flux takes care of the deployment.\n\n```bash\n    # Create the k8s cluster and the domain for DNS\n    cd terraform\n    terraform apply\n    cd -\n\n    # Configure your kubectl to access the cluster\n    doctl kubernetes cluster kubconfig save simplistic-production-1\n    kubectl config use-context do-ams3-simplistic-production-1\n\n    # Install Helm/Tiller and Flux\n    cd kubernetes/shared/\n    ./install-tiller.sh\n    ./install-flux.sh\n    cd -\n\n```\n\nI didn't include the DO API token in source for obvious security reasons, so it still has to be changed in the cluster.\n\n```bash\n    echo -n $DIGITALOCEAN_API_TOKEN | base64 | pbcopy\n    kubectl edit secrets default-external-dns\n    kubectl delete pod -l app=external-dns\n```\n\nFinally you want to login on the blog, so you need a password.\n\n```bash\n    kubectl get secrets default-ghost-dromomania -o yaml | grep ghost-password | awk -F' ' '{ print $2 }' | base64 -D | pbcopy\n```\n\nNow go to [https://dromomania.be/](https://dromomania.be/) and login with dromomania@simplistic.be and the password on your clipboard.\n\n## Credits\n\nThe kubernetes/flux config is based on [https://github.com/travis-ci/kubernetes-config](https://github.com/travis-ci/kubernetes-config).\n\nCharts:\n\n* [ghost](https://hub.helm.sh/charts/bitnami/ghost)\n* [cert-manager](https://hub.helm.sh/charts/jetstack/cert-manager)\n* [external-dns](https://hub.helm.sh/charts/stable/external-dns)\n* [nginx-ingress](https://hub.helm.sh/charts/stable/nginx-ingress)\n\nTutorials:\n\n* [How To Set Up an Nginx Ingress on DigitalOcean Kubernetes Using Helm](https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-on-digitalocean-kubernetes-using-helm)\n* [How To Automatically Manage DNS Records From DigitalOcean Kubernetes Using ExternalDNS](https://www.digitalocean.com/community/tutorials/how-to-automatically-manage-dns-records-from-digitalocean-kubernetes-using-externaldns)\n\n## License\n\nMIT\n\n## Author Information\n\nJeroen Op 't Eynde, jeroen@simplistic.be\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fghost-dromomania","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduologic%2Fghost-dromomania","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fghost-dromomania/lists"}