Advantages Introduction#
- Free quota is sufficient for personal use.
- No additional configuration for CDN is required.
- Custom domain is more elegant.
免费 | 付费 - 费率 | |
---|---|---|
存储 | 10 GB / 月 | $0.015 / GB - 月 |
A 类操作 | 100 万次请求 / 月 | $4.50 / 百万次请求 |
B 类操作 | 1000 万次请求 / 月 | $0.36 / 百万次请求 |
Step 1: Create R2 Storage Bucket#
Step 2: Bind Domain#
Step 3: Create S3 Token#
Step 4: Install Lsky Image Hosting#
mkdir -p ~/app/Lsky && cd ~/app/Lsky && nano docker-compose.yml
docker-compose up -d
version: '3.3'
services:
lsky-pro:
restart: always
volumes:
- './lsky-pro-data:/var/www/html'
image: 'dko0/lsky-pro'
networks:
default:
external: true
name: ngpm
Step 5: Add R2 Storage Bucket to Image Hosting#