{"id":19991103,"url":"https://github.com/DimensionDataResearch/daas-demo","last_synced_at":"2025-05-04T10:31:05.971Z","repository":{"id":102064810,"uuid":"107913449","full_name":"DimensionDataResearch/daas-demo","owner":"DimensionDataResearch","description":"A quick-and-dirty PaaS implementation using SQL Server and RavenDB in Linux containers on Kubernetes","archived":false,"fork":false,"pushed_at":"2018-04-17T02:44:08.000Z","size":4550,"stargazers_count":13,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-29T02:56:23.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"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/DimensionDataResearch.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,"zenodo":null}},"created_at":"2017-10-23T00:20:35.000Z","updated_at":"2022-11-25T16:54:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcb4c865-aa02-408a-aa47-b0764dc13b68","html_url":"https://github.com/DimensionDataResearch/daas-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionDataResearch%2Fdaas-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionDataResearch%2Fdaas-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionDataResearch%2Fdaas-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionDataResearch%2Fdaas-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DimensionDataResearch","download_url":"https://codeload.github.com/DimensionDataResearch/daas-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252320116,"owners_count":21729066,"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":[],"created_at":"2024-11-13T04:51:36.791Z","updated_at":"2025-05-04T10:31:05.963Z","avatar_url":"https://github.com/DimensionDataResearch.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"## Database-as-a-Service demo\n\nA quick-and-dirty PaaS implementation using SQL Server in Linux containers on Kubernetes.\n\n### Requirements\n\n* .NET Core 2.0\n* A private Docker registry  \n  e.g. Azure Container Registry, or quay.io\n* A Kubernetes cluster  \n  If you don't have one yet, see the [deploy/terraform/ddcloud](deploy/terraform/ddcloud) and [deploy/ansible](deploy/ansible) directories for some scripts you can use to bring up a cluster managed by Rancher in Dimension Data's cloud.\n* A server for storage  \n  This server will need to export an NFS volume unless you have your own options for storage\n* A DNS `A` wildcard record pointing to your cluster nodes' public IPs\n\n### Deployment\n\n#### Images\n\nRun `.\\Build-Images.ps1` or `./build-images.sh`.\n\n#### Kubernetes Resources\n\nCustomise the files in [deploy/k8s](deploy/k8s) as required, and run `kubectl create -f deploy/k8s/XXX`, where `XXX` is:\n\n* `rook`\n* `ravendb`\n* `elasticsearch`\n* `prometheus`\n\nThen run `deploy/k8s/consul/install.sh`, `deploy/k8s/vault/install-vault.sh`, and `kubectl create -f deploy/k8s/vault/vault-svc.yml`.\n\nConfigure Vault:\n\n* `vault mount -path=/daas/pki pki`\n* `vault mount-tune -max-lease-ttl=87600h /daas/pki`\n* `vault write /daas/pki/root/generate/internal common_name=vault.\u003ccluster-fqdn\u003e ttl=87600h`\n* `vault write /daas/pki/roles/daas.server.database allowed_domains=database.\u003ccluster-fqdn\u003e allow_subdomains=true allow_bare_domains=true max_ttl=672h`\n* `vault write /daas/pki/roles/daas.user.database allowed_domains=database.\u003ccluster-fqdn\u003e allow_subdomains=true max_ttl=672h`\n\nFinally, run `kubectl create -f deploy/k8s`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDimensionDataResearch%2Fdaas-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDimensionDataResearch%2Fdaas-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDimensionDataResearch%2Fdaas-demo/lists"}