Service accept file by curl command or via simple UI and store it on disk
2.4K
Service accept file by curl command or via simple UI and store it on disk.
Default locations for uploads is /app/upload
docker run -it --rm -p 8000:8000 -v `pwd`/upload:/app/upload --name webapp to4kin/webapp:latest
Example stack.yml for webapp:
version: '3.8'
services:
webapp:
image: to4kin/webapp:latest
restart: always
ports:
- 8000:8000
volumes:
- upload-volume:/app/upload
webapp-sidecar:
image: to4kin/webapp-sidecar:latest
restart: always
ports:
- 3000:3000
volumes:
- upload-volume:/upload
volumes:
upload-volume:
java -jar build/libs/webapp-<APP_VERSION>.jar
server.port=8000
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
storage.uploadFolder=upload
Content type
Image
Digest
Size
154.9 MB
Last updated
almost 5 years ago
docker pull to4kin/webapp