web tool,such as create qrcode,file server,etc
Docker compose
version: '3' services: httptool: image: 0990/httptool:latest environment: - Advertised_Addr=http://127.0.0.1 ports: - "80:80" volumes: - xxx:/httptool/file_dir - xxx:/httptool/qrcode_dir
/tool.htmlcreate qrcode
/qrcode/create POST Content-Type: application/json
Body:
{
"content":"https://www.google.com"
}Response:
{"code":0,"message":"","picUrl":"http://127.0.0.1/qrcode/qrcode20230906143105.png"}picUrl is the qrcode url,"http://127.0.0.1" can configure by env Advertised_Addr generated png file dir can configure by volumes /httptool/qrcode_dir
/filegenerated png file dir can configure by volumes /httptool/file_dir