{"id":15173949,"url":"https://github.com/bstaijen/mariadb-for-microservices","last_synced_at":"2025-12-30T09:36:02.259Z","repository":{"id":57522525,"uuid":"76384217","full_name":"bstaijen/mariadb-for-microservices","owner":"bstaijen","description":"MariaDB for Microservices is a working example on how to create an application using the microservice architectural approach and the MariaDB Server.","archived":true,"fork":false,"pushed_at":"2018-02-22T17:53:41.000Z","size":1326,"stargazers_count":25,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T05:44:40.430Z","etag":null,"topics":["docker","go","high-availability","mariadb","mariadb-server","microservice","nodejs","scaling"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bstaijen.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}},"created_at":"2016-12-13T17:53:14.000Z","updated_at":"2024-06-20T19:59:17.000Z","dependencies_parsed_at":"2022-09-26T18:00:52.539Z","dependency_job_id":null,"html_url":"https://github.com/bstaijen/mariadb-for-microservices","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bstaijen/mariadb-for-microservices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstaijen%2Fmariadb-for-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstaijen%2Fmariadb-for-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstaijen%2Fmariadb-for-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstaijen%2Fmariadb-for-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bstaijen","download_url":"https://codeload.github.com/bstaijen/mariadb-for-microservices/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bstaijen%2Fmariadb-for-microservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277796784,"owners_count":25878671,"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","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker","go","high-availability","mariadb","mariadb-server","microservice","nodejs","scaling"],"created_at":"2024-09-27T11:05:16.280Z","updated_at":"2025-10-01T10:31:45.175Z","avatar_url":"https://github.com/bstaijen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/bstaijen/mariadb-for-microservices.svg?branch=master)](https://travis-ci.org/bstaijen/mariadb-for-microservices) [![Go Report Card](https://goreportcard.com/badge/github.com/bstaijen/mariadb-for-microservices)](https://goreportcard.com/report/github.com/bstaijen/mariadb-for-microservices)\nWork in progress..\n\n# MariaDB for Microservices\nMariaDB for Microservices is a working example on how to create an application using the microservice architectural approach and the MariaDB Server.\n\n## How does it work?\nThis project consists out of 5 services, a shared library, 1 database and a webserver (also serves as proxy). We use docker for to deploy and run each service. \n\n## Requirements\n- Docker (version 17.03.1)\n\n## Usage\nTo run the application we first have to set-up a cluster of machines, after that we have to configure our database, we end with bootstrapping the application.\nCreate a cluster of 5 machines with the following command: `./create_machines.sh`. This script also install a visualizer and etcd for service discovery.\n\nNow pass the location of the etcd service to the database configuration. To do that you have to edit the docker-compose-stacks.yml file and add the IP and port to the “DISCOVERY_SERVICE” environment variable of the database. The configuration should be on line 126. You can get the IP by using the command `docker-machine ip manager-1`.\n\nThe last thing to do is to deploy the application, use the command `docker stack deploy --compose-file docker-compose-stacks.yml demo`\n\n# Feedback \u0026 Issues\n- Feel free to report bugs or suggestions through the Github issues page.\n\n# Authors\n- Bjorge Staijen","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbstaijen%2Fmariadb-for-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbstaijen%2Fmariadb-for-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbstaijen%2Fmariadb-for-microservices/lists"}