This project shows you how you can use multiple configuration depending on the build profil dev | prod.
./mvnw -Pdev install
./mvnw -Pprod install
ENVIRONMENT_VAR=hello docker-compose up -d
docker container ls
docker logs 891e6a114f35 ( Containr Id)
curl localhost:8080/api/health/version curl localhost:8080/api/health/environmentVar