Public | Automated Build

Last pushed: 2 months ago
Short Description
Simple nginx container that serves static files from public Amazon S3
Full Description

ESTRI

Simple nginx container that serves static files from public Amazon S3.

Notes

  • Currently only supports S3 buckets with public policy (see below)
  • SSL termination is meant to be handled by our Rancher instance (Docker orchestration)

How to use

1 - Create an S3 bucket with public policy:

{
  "Version": "2014-06-14",
  "Statement": [
    {
      "Sid": "AllowPublicRead",
      "Effect": "Allow",
      "Principal": {
      "AWS": "*"
    },
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::BUCKET_NAME_HERE/*"
    }
  ]
}

2 - Run Estri with proper env var

docker run -d \
  --name estri \
  -p 8080:8080 \
  -e S3_BUCKET=BUCKET_NAME_HERE \
  -e S3_DIR=BUCKET_DIR_HERE \ # optional
  coralteam/estri:latest

3 - Do not forget to replace BUCKET_NAME_HERE with your bucket name

Docker Pull Command
Owner
coralteam
Source Repository

Comments (0)