Hi, I trying to setup a Grafana Docker Container so it can upload images to my AWS S3 Public bucket.
So far I have already configured the grafana.env file like this:
GF_EXTERNAL_IMAGE_STORAGE_PROVIDER=s3
GF_EXTERNAL_IMAGE_STORAGE_S3_BUCKET=my-aws-public-bucket
GF_EXTERNAL_IMAGE_STORAGE_S3_REGION=us-east-1
GF_EXTERNAL_IMAGE_STORAGE_S3_ACCESS_KEY=AKIAZIXTDAK2SB6EXXXX
GF_EXTERNAL_IMAGE_STORAGE_S3_SECRET_KEY=0c/p+1oeJKrQatVHeyxVh/NCkG5XYG5IdFBXXXXX
But I haven’t been able to get the graph image shown in my slack notification channel.
I have already tested my AWS credentials using aws-cli for uploading the image to my bucket and it is working.
When I run docker-compose -d up I can see from the console log that grafana is reading the configuration environment from grafana.env file:
grafana_container | t=2020-01-27T18:03:02+0000 lvl=info msg=“Config overridden from Environment variable” logger=settings var=“GF_EXTERNAL_I
MAGE_STORAGE_PROVIDER=s3”
grafana_container | t=2020-01-27T18:03:02+0000 lvl=info msg=“Config overridden from Environment variable” logger=settings var=“GF_EXTERNAL_I
MAGE_STORAGE_S3_BUCKET=my-aws-public-bucket”
grafana_container | t=2020-01-27T18:03:02+0000 lvl=info msg=“Config overridden from Environment variable” logger=settings var=“GF_EXTERNAL_I
MAGE_STORAGE_S3_REGION=us-east-1”
grafana_container | t=2020-01-27T18:03:02+0000 lvl=info msg=“Config overridden from Environment variable” logger=settings var=“GF_EXTERNAL_I
MAGE_STORAGE_S3_ACCESS_KEY=AKIAZIXTDAK2SB6XXXX”
grafana_container | t=2020-01-27T18:03:02+0000 lvl=info msg=“Config overridden from Environment variable” logger=settings var=“GF_EXTERNAL_I
MAGE_STORAGE_S3_SECRET_KEY=*********”
But I haven’t got any image in my slack notification channel