Home

Awesome

imageur

Image pool management site

Screenshots

main

signin

Install

Docker is the only way to install imageur. (Or you can run dev mode :p)

Only Aliyun OSS is supported now. If you want to add more, raise an issue :P.

Setup Aliyun-OSS service

Create Bucket

Setup CORS

Soures:
  you exact domain
  e.g. www.aliyun.com or *.aliyun.com
Allowed Methods:
  Check all
Allowed Headers:
  *
Exposed Headers:
  ETag
  x-oss-request-id
  x-oss-version-id

Setup Aliyun STS service

Follow this document first

YOU NEED TO CHANGE POLICY DOCUMENT TO THE FOLLOWING

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "oss:PutObject",
      "Resource": [
        "acs:oss:*:*:YOUR_BUCKET_NAME/share",
        "acs:oss:*:*:YOUR_BUCKET_NAME/share/*"
      ]
    }
  ]
}

You need to get the following field in this step:

Environment

- USERNAME: admin
- PASSWORD: admin
- SECRET: random string
- ACCESS_KEY_ID: Aliyun AccessKey ID
- ACCESS_KEY_SECRET: Aliyun AccessKey Secret
- ARN: OSS ARN
- REGION: OSS Region e.g. oss-cn-beijing
- BUCKET: OSS Bucket name

Start docker

Copy the docker-compose.yml, config environment and run docker-compose up to test.

If all works fine, Ctrl C to shutdown then run docker-compose up -d to deploy.