This repository is use golang to implement project management system
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 |
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-uroot", "-p${MYSQL_ROOT_PASSWORD}"]
interval: 5s
timeout: 5s
retries: 10
docker compose up -d