Sign inSign up

xcevor/fileupload-springboot

By xcevor

•Updated about 3 years ago

Image
0

1.7K

xcevor/fileupload-springboot repository overview

⁠xcevor/fileupload-springboot

Named @RequestParam("myfile") in the internal code.
In the HTML form, the "name" attribute of the element is set to "myfile", and the "Key" of the form-data in Postman is set to "myfile".

⁠Default

Put in "your_path" the path identified by the Linux "pwd" command.

sudo docker run -d -p 8080:8080 -v /{your_path}/uploads:/app/uploads -e --name fileupload xcevor/fileupload-springboot:0.3

⁠Environment Variable for Directory

sudo docker run -d -p 8080:8080 -v /{your_path}/host_dir:/app/container_dir -e UPLOAD_DIR_ENV=container_dir/ --name fileupload xcevor/fileupload-springboot:0.3

ex)

sudo docker run -d -p 8080:8080 -v /home/ubuntu/host_dir:/app/container_dir -e UPLOAD_DIR_ENV=container_dir/ --name fileupload xcevor/fileupload-springboot:0.3

Tag summary

Content type

Image

Digest

sha256:5b8ef266a…

Size

328.1 MB

Last updated

about 3 years ago

docker pull xcevor/fileupload-springboot