Files
services/blog/search/README.md
Asim Aslam 61fe9c169b One
2020-10-02 11:13:01 +01:00

55 lines
723 B
Markdown

# Search Service
This is the Search service
Generated with
```
micro new --namespace=go.micro --type=service search
```
## Getting Started
- [Configuration](#configuration)
- [Dependencies](#dependencies)
- [Usage](#usage)
## Configuration
- FQDN: go.micro.service.search
- Type: service
- Alias: search
## Dependencies
Micro services depend on service discovery. The default is multicast DNS, a zeroconf system.
In the event you need a resilient multi-host setup we recommend etcd.
```
# install etcd
brew install etcd
# run etcd
etcd
```
## Usage
A Makefile is included for convenience
Build the binary
```
make build
```
Run the service
```
./search-service
```
Build a docker image
```
make docker
```