Spring Boot, Docker, Thymeleaf, Maven, Apache ECharts
Database: GridDB 5.5.0
Build the docker image:
docker compose -f docker-compose.yml build
Run the docker image:
docker compose -f docker-compose.yml up -d
Check container
docker ps -a
docker compose logs --follow
docker compose logs > container.log
The website available at http://localhost:8080
Prerequisites:
Format code
mvn spring-javaformat:apply & mvn impsort:sort
Sort Import
mvn package
sudo su gsadm
gs_startnode -u admin/admin
gs_stat -u admin/admin
- Exec into docker container
$ su gsadm $ gs_sh gs> setcluster clusterD dockerGridDB 239.0.0.1 31999 $node0 gs> connect $clusterD