microservices-go

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2020 License: MIT Imports: 8 Imported by: 0

README

Golang Microservices Boilerplate

issues forks stars license CodeFactor

Example structure to start a microservices project with golang. Using a MySQL database.

Build image docker development

docker build -t ${name_image} --force-rm .

Run container development

docker run --name microservice \
-v "$(pwd)":/app/microservices \
-e HOST_MONGO=mongo_host \
-e DATABASE_MONGO=database_mongo \ 
-e USER_DB=user_database_mysql \
-e PASSWORD_DB=password_mysql \
-e NAME_DB=name_db_mysql \
-e HOST_DB=host_mysql \
-e PORT_DB=port_mysql \
-d -p 8000:8080 \
${name_image}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL