adnanrahic / adnanrahic/serverless-docker-image-resize

Image is not resizing.

未关闭
#5 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
123
派生
27
PR 合并指标
30 天内没有已合并 PR

描述

I've cloned your repo to my local system.

then update a details `SSL_KEY, SLS_SECRET, STAGE, REGION, BUCKET` in `secrets.env` file.

I want to use node version 10 so I change it to `bucket/serverless.yml` and `functions/serverless.yml` and `Dockerfile`.

At last, I run command `docker-compose up --build`

I kept en eye on the output of a docker-compose command and everything is set up nicely.

it has created 2 S3 bucket `image-resize-on-the-fly-serverlessdeploymentbuck-15sulaxg0lhop`, `image-resize-on-the-fly-serverlessdeploymentbuck-2lofzjreudgm` and one bucket that I updated in `secrets.env` file to store images. two cloudformation stacks `image-resize-on-the-fly-bucket-dev` and `image-resize-on-the-fly-functions-dev` and one lambda function.

then I upload an image to S3 bucket. : `S3_BUCKET_URL/image.jpg` and I can access this URL.

Then I tried `S3_BUCKET_URL/500x500/image.jpg` but it's given me an error and I've attached error screen. it's not creating resize image.

Any help would be grateful.

![error (1)](https://user-images.githubusercontent.com/62876889/78988194-dab1b900-7b4d-11ea-8562-2b15b1b78afa.png)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。