This project base on springboot framework, it has a interface to upload file to server.
mvn clean && mvn -Dmaven.test.skip=true
docker build -f {projectDir}/Dockerfile -t {imageName}:{tag} {projectDir}
When you run this container, you can use $JAVA_OPTS env set JVM configuration.
e.g. -Dspring.config.location={applicationYamlFileUrl}
set out tree application.yml.
- POST /upload Upload file to server, you need upload a file named file in form-data.