Add AWS_ENDPOINT to storage config

This commit is contained in:
Eugene Burmakin 2025-08-01 15:08:27 +02:00
parent 4506d30f42
commit e1370fc793

View file

@ -14,6 +14,9 @@ s3:
secret_access_key: <%= ENV.fetch("AWS_SECRET_ACCESS_KEY") %> secret_access_key: <%= ENV.fetch("AWS_SECRET_ACCESS_KEY") %>
region: <%= ENV.fetch("AWS_REGION") %> region: <%= ENV.fetch("AWS_REGION") %>
bucket: <%= ENV.fetch("AWS_BUCKET") %> bucket: <%= ENV.fetch("AWS_BUCKET") %>
<% if ENV['AWS_ENDPOINT'] %>
endpoint: <%= ENV.fetch("AWS_ENDPOINT") %>
<% end %>
<% end %> <% end %>
# Remember not to checkin your GCS keyfile to a repository # Remember not to checkin your GCS keyfile to a repository