This project was created for front-end developers who want a mock API to run on the TODO website.
- Docker
- Docker compose
Please running command below
docker-compose up -dNOTE
If you want to change default value please create your own
.envfile
| Key | Value | Description |
|---|---|---|
| SERVICE_NAME | todo_application | App container name |
| SERVICE_PORT | 8080 | App port binding |
| SERVICE_SECRET | usersecret | App API-Key secret |
| MYSQL_NAME | todo_database | MySQL Container name |
| MYSQL_PORT | 3306 | MySQL port binding |
| MYSQL_VERSION | 8.0.31 | MySQL image version |
| MYSQL_ROOT_PASSWORD | 123456 | MySQL root password |
| MYSQL_DATABASE | todo | Database Name |
| MYSQL_USER | todo_username | Database username |
| MYSQL_PASSWORD | todo_password | Database password |
| TIMEZONE | "Asia/Bangkok" | Container timezone |
After started application complete, Please enter localhost:{app_port}/todo/swagger-ui