Home

Awesome

picgo-plugin-web-uploader

plugin for PicGo

使用

图床配置

服务端配置

  1. 参照 PicUploader 配置同时上传多个免费图床

  2. 可使用已打包的pic-upload docker镜像

version: '3'
services:
  pic-uploader:
    image: zqiannnn/pic-uploader:1.0
    ports:
      - 8080:80
    volumes:
      - ./server.conf:/etc/nginx/conf.d/server.conf
    environment:
      - STORAGE_TYPE=Qiniu,Netease,Aliyun,Ucloud,Qingcloud
#     10G 10G
      - QINIU_AK=xx
      - QINIU_SK=xx
      - QINIU_BUCKET=xx
      - QINIU_DOMAIN=http://xx.bkt.clouddn.com
#     50G 20G
      - NETEASE_AK=xx
      - NETEASE_AS=xx
      - NETEASE_BUCKET=xx
      - NETEASE_ENDPOINT=xx
      - NETEASE_DOMAIN=https://xx.nos-eastchina1.126.net
#     无
      - ALIYUN_AK=xx
      - ALIYUN_AS=xx
      - ALIYUN_BUCKET=xx
      - ALIYUN_ENDPOINT=xx
      - ALIYUN_DOMAIN=https://xx.aliyuncs.com
#     20G 20G
      - UCLOUD_PUBLIC_KEY=xx
      - UCLOUD_PRIVATE_KEY=xx
      - UCLOUD_PROXY_SUFFIX=xx
      - UCLOUD_BUCKET=xx
      - UCLOUD_ENDPOINT=ufile.ucloud.com.cn
      - UCLOUD_DOMAIN=http://xx.ufileos.com
#     30G 11G
      - QINGCLOUD_AK=xx
      - QINGCLOUD_SK=xx
      - QINGCLOUD_BUCKET=xx
      - QINGCLOUD_ZONE=xx
#     最后一个domain可设置为步骤3中Nginx域名
      - QINGCLOUD_DOMAIN=https://xx.qingstor.com

#     自定义返回
      - CUSTOM_FORMAT={"url":"{{url}}"}
      - WATERMARK=水印字符
  1. 使用Nginx代理多个免费图床nginx

服务端测试