Ready to kick-start Spring Boot application template filter with Dockerfile and docker-compose.yml
- Java: 17
- Spring Boot: 2.7.5
- Rename
TemplateFilterApplication
indev.hse.cmc
package to{{ sourcename }}{{ filtername }}FilterApplication
- Under
src/main/java
renamedev.hse.cmc
package to your preferred one - Change
artifactId
in pom fromtemplate-filter-ms
to{{ sourcename }}-{{ filtername }}-filter-ms
- Update
docker-compose.yml
- Change application service name
template-filter
to{{ sourcename }}-{{ filtername }}-filter
- Change container name
template-filter-container
to{{ sourcename }}-{{ filtername }}-filter-container
- Change
FILTER_SOURCE
to yoursourcename
- Change
FILTER_SUBTHEME
to yoursubtheme
- Change application service name
./mvnw clean
./mvnw package -Dmaven.test.skip
docker compose up