{"id":17609760,"url":"https://github.com/hoegaarden/stolon-boshrelease","last_synced_at":"2026-05-09T16:05:42.575Z","repository":{"id":66073277,"uuid":"77748922","full_name":"hoegaarden/stolon-boshrelease","owner":"hoegaarden","description":"A bosh release to deploy stolon, postgres \u0026 consul via bosh","archived":false,"fork":false,"pushed_at":"2017-07-17T22:49:27.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T01:26:13.101Z","etag":null,"topics":["bosh","bosh-release","consul","postgres","stolon"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoegaarden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-12-31T16:59:31.000Z","updated_at":"2019-01-27T17:52:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"440cecbd-f34a-4283-9eba-19cd08acb374","html_url":"https://github.com/hoegaarden/stolon-boshrelease","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/hoegaarden%2Fstolon-boshrelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoegaarden%2Fstolon-boshrelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoegaarden%2Fstolon-boshrelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoegaarden%2Fstolon-boshrelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoegaarden","download_url":"https://codeload.github.com/hoegaarden/stolon-boshrelease/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258885,"owners_count":20748573,"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":["bosh","bosh-release","consul","postgres","stolon"],"created_at":"2024-10-22T17:09:55.726Z","updated_at":"2025-10-17T01:32:31.129Z","avatar_url":"https://github.com/hoegaarden.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stolon-boshrelease\n\n**This release is WIP**\n\nThis is a [bosh release](https://bosh.io) using [postgres](https://www.postgresql.org/), [stolon](https://github.com/sorintlab/stolon) \u0026 [consul](https://www.consul.io/) to deploy postgres in a highly available manner.\n\n## Hints\n\n- This release is dependant on [consul-release](http://bosh.io/releases/github.com/cloudfoundry-incubator/consul-release) (tested with version `170`).\n- This release can be deployed with consul-servers inclueded or without them by leveraging a different deployment which provide the `consul_common` and `consul_client` links.\n- There are some ops- and vars-files included to deploy via `bosh2`\n  - Deployment with external consul cluster:\n    ```\n    bosh2 -e bosh-lite -d stolon \\\n      deploy \\\n        --vars-file manifest/vars.default.yml \\\n      manifest/deployment.stolon.yml\n    ```\n  - Deployment with a consul cluster included:\n    ```\n    bosh2 -e bosh-lite -d stolon_consul\n      deploy \\\n        --ops-file manifest/ops.include-consul.yml \\\n        --vars-file manifest/vars.default.yml \\\n        --vars-file manifest/vars.include-consul.yml \\\n      manifest/deployment.stolon.yml\n    ```\n\n  Some of the settings (`consul_common_link_name`, `consul_deployment_name`, ...) may need to be changed either by a vars-file or by specifying them via command line option like `... --var 'consul_deployment_name=this_is_my_consul_cluster' ...`.\n- You can also spin up a separate consul server deployment which you can then use to link to the actual stolon deployment:\n  ```\n  bosh2 -e bosh-lite -d consul \\\n    deploy \\\n      --vars-file manifest/vars.include-consul.yml \\\n    manifest/deployment.consul.yml\n  ```\n\n## TODOs\n\n- [ ] More testing, smoketest, CI\n- [ ] test with `pg_rewind`\n- [ ] include some backup solution (`wal-e`, `pgbackrest`, `barman`, ...)\n- [ ] loadbalance mutltiple proxies (?)\n\n## Attention\n\nThis is work in progress. This is first bosh release, more of a playground and should be treated as such ...you have been warned!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoegaarden%2Fstolon-boshrelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoegaarden%2Fstolon-boshrelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoegaarden%2Fstolon-boshrelease/lists"}