Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 906 Bytes

File metadata and controls

39 lines (28 loc) · 906 Bytes

golang-project-management-system

This repository is use golang to implement project management system

component archiecture

plan-archiecture.png

componenet dependency

dependency-diagram.png

enviroment setup

environment name description
PORT api service port
DB_USER mysql user name
DB_PASSWORD mysql password
DB_HOST mysql hostname
DB_PORT mysql port default: 3306
DB_NAME mysql database name
JWT_SECRET jwt secret

for container healthy check for container start

healthcheck:
  test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-uroot", "-p${MYSQL_ROOT_PASSWORD}"]
  interval: 5s
  timeout: 5s
  retries: 10

start up service

docker compose up -d