demarches-normaliennes/config/storage.yml

22 lines
783 B
YAML
Raw Normal View History

2018-02-12 22:59:37 +01:00
local:
service: Disk
root: <%= Rails.root.join("storage") %>
test:
service: Disk
root: <%= Rails.root.join("tmp/storage") %>
2018-11-14 15:42:09 +01:00
openstack:
service: OpenStack
container: "<%= ENV['FOG_ACTIVESTORAGE_DIRECTORY'] %>"
2018-11-14 15:42:09 +01:00
credentials:
openstack_auth_url: "<%= ENV['FOG_OPENSTACK_URL'] %>"
2018-11-14 15:42:09 +01:00
openstack_api_key: "<%= ENV['FOG_OPENSTACK_API_KEY'] %>"
openstack_username: "<%= ENV['FOG_OPENSTACK_USERNAME'] %>"
openstack_region: "<%= ENV['FOG_OPENSTACK_REGION'] %>"
openstack_temp_url_key: "<%= ENV['FOG_OPENSTACK_TEMP_URL_KEY'] %>"
2023-01-10 17:38:00 +01:00
amazon:
service: S3
access_key_id: <%= ENV.fetch("S3_ACCESS_KEY_ID", "") %>
secret_access_key: <%= ENV.fetch("S3_SECRET_ACCESS_KEY", "") %>
region: <%= ENV.fetch("S3_REGION", "") %>
bucket: <%= ENV.fetch("S3_BUCKET", "") %>