Gobel is a headless cms built with golang.
This repository contains the code to run gobel in each environment.
Both local environment and production environment are assumed to be operated with docker-compose.
- bmf-tech-client
- gobel-api
- gobel-client-example
- gobel-admin-client-example
- gobel-example
- gobel-ops-example
- migrate-rubel-to-gobel
cp .env.example .env
ex.
127.0.0.1 SERVER_NAME_OF_API # use GOBEL_NGINX_API_SERVER_NAME in .env
127.0.0.1 SERVER_NAME_OF_CLIENT # use GOBEL_NGINX_CLIENT_SERVER_NAME in .env
127.0.0.1 SERVER_NAME_OF_ADMIN_CLIENT # use GOBEL_NGINX_ADMIN_CLIENT_SERVER_NAME .env
Place certificates created with mkcert in /nginx/certificates/
.
Use a faker.sql.
Here is a fake data sql file that can be used for operation verification.
make docker-compose-build
make docker-compose-up
Application | URL |
---|---|
gobel-api | https://SERVER_NAME_OF_API/ |
gobel-admin-client-example-example | https://SERVER_NAME_OF_ADMIN_CLIENT/ |
gobel-client | https://SERVER_NAME_OF_CLIENT/ |
loki | http://localhost:3100/ |
promtail | http://localhost:9080/ |
grafana | http://localhost:3000/ |
redis-insight | http://localhost:8001/ |
cadvisor | http://localhost:8090/ |
prometheus | http://localhost:9090/graph |
node-exporter | http://localhost:9100/ |
mysqld-exporter | http://localhost:9104/ |
nginx-prometheus-exporter | http://localhost:9113/ |
redis-exporter | http://localhost:9121/ |
blackbox-exporter | http://localhost:9115/ |
ssl-exporter | http://localhost:9219/ |
pyroscope | http://localhost:4040/ |
Available by setting grafana alert.
Notifications are set manually in Alerting>Contact Points in Grafana.
Use grafana's dashboard and datasources. You can provision by managing files in yml or json format.
This project is licensed under the terms of the MIT license.
bmf - Software engineer.