Finish up Garage S3 config for kosmos.social
This commit is contained in:
@@ -35,12 +35,16 @@ SMTP_FROM_ADDRESS=<%= @smtp_from_address %>
|
||||
# Serve static files (to nginx proxy)
|
||||
RAILS_SERVE_STATIC_FILES=true
|
||||
|
||||
<% if @s3_endpoint %>
|
||||
# S3 (optional)
|
||||
S3_ENABLED=true
|
||||
S3_ENDPOINT=<%= @s3_endpoint %>
|
||||
S3_REGION=<%= @s3_region %>
|
||||
S3_BUCKET=<%= @s3_bucket %>
|
||||
S3_ALIAS_HOST=<%= @s3_alias_host %>
|
||||
AWS_ACCESS_KEY_ID=<%= @aws_access_key_id %>
|
||||
AWS_SECRET_ACCESS_KEY=<%= @aws_secret_access_key %>
|
||||
S3_REGION=<%= @s3_region %>
|
||||
<% end %>
|
||||
|
||||
# Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
|
||||
# S3_CLOUDFRONT_HOST=
|
||||
|
||||
Reference in New Issue
Block a user