modulepackage
0.1.0
Repository: https://github.com/gbrayhan/microservices-go.git
Documentation: pkg.go.dev
# README
Golang Microservices Boilerplate
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}
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author