Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmf-san/gobel-ops-example
Gobel is a headless cms built with golang.
https://github.com/bmf-san/gobel-ops-example
ansible conoha docker gobel gobel-admin-client-example gobel-api gobel-client-example iac kubernetes openstack terraform ubuntu vps
Last synced: 21 days ago
JSON representation
Gobel is a headless cms built with golang.
- Host: GitHub
- URL: https://github.com/bmf-san/gobel-ops-example
- Owner: bmf-san
- License: mit
- Created: 2020-11-29T09:15:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-08T15:28:54.000Z (about 1 year ago)
- Last Synced: 2024-10-16T03:21:06.058Z (2 months ago)
- Topics: ansible, conoha, docker, gobel, gobel-admin-client-example, gobel-api, gobel-client-example, iac, kubernetes, openstack, terraform, ubuntu, vps
- Language: HCL
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# gobel-ops-example
Gobel is a headless cms built with golang.This is an example infrastructure configuration management for running [gobel-example](https://github.com/bmf-san/gobel-example) on the production environment on VPS by using terraform and ansible.
This sample code assumes the use of a Japanese VPS called conoha.
# gobel
- [bmf-tech-client](https://github.com/bmf-san/bmf-tech-client)
- [gobel-api](https://github.com/bmf-san/gobel-api)
- [gobel-client-example](https://github.com/bmf-san/gobel-client-example)
- [gobel-admin-client-example](https://github.com/bmf-san/gobel-admin-client-example)
- [gobel-example](https://github.com/bmf-san/gobel-example)
- [gobel-ops-example](https://github.com/bmf-san/gobel-ops-example)
- [migrate-rubel-to-gobel](https://github.com/bmf-san/migrate-rubel-to-gobel)# Get started
Assuming execution from the local environment.Need to install the following tools:
- terraform
- ansible
- ansible-lint## Setup infrastructure by terraform
Create a terraform.tfvars.
See variables.tf for the variables you need to set.```sh
cd terraform/
make apply
```## Provisioning by ansible
To perform a DNS-01 challenge with letsencrypt with certificate acquisition, you need to set dns before running provision.Please set the A record to the domain.
It is OK if the A record is returned by executing the dig command.
```
dig DOMAIN_NAME
``````sh
cd ansible/
make init-provision
make provision
```## Deploy
```sh
cd /deploy
cp .env.example .env # see a host file in /ansible/inventories/host_vars and edit an .env.
make deploy
```# License
This project is licensed under the terms of the MIT license.# Author
bmf - Software engineer.- [github - bmf-san/bmf-san](https://github.com/bmf-san/bmf-san)
- [twitter - @bmf-san](https://twitter.com/bmf_san)
- [blog - bmf-tech](http://bmf-tech.com/)