feat(openstack): just use FOG_OPENSTACK_URL
We don't need introducing a new env var for this.
This commit is contained in:
parent
36f8a582ed
commit
56461c6614
2 changed files with 3 additions and 4 deletions
|
@ -28,9 +28,8 @@ BASIC_AUTH_ENABLED="disabled"
|
||||||
BASIC_AUTH_USERNAME=""
|
BASIC_AUTH_USERNAME=""
|
||||||
BASIC_AUTH_PASSWORD=""
|
BASIC_AUTH_PASSWORD=""
|
||||||
|
|
||||||
# Object Storage for attachments. Used if STORAGE_TYPE is not "local"
|
# Object Storage for attachments
|
||||||
STORAGE_TYPE="openstack"
|
FOG_ENABLED="disabled"
|
||||||
FOG_OPENSTACK_AUTH_URL="https://auth.cloud.ovh.net"
|
|
||||||
FOG_OPENSTACK_API_KEY=""
|
FOG_OPENSTACK_API_KEY=""
|
||||||
FOG_OPENSTACK_USERNAME=""
|
FOG_OPENSTACK_USERNAME=""
|
||||||
FOG_OPENSTACK_URL=""
|
FOG_OPENSTACK_URL=""
|
||||||
|
|
|
@ -8,7 +8,7 @@ openstack:
|
||||||
service: OpenStack
|
service: OpenStack
|
||||||
container: "<%= ENV['FOG_ACTIVESTORAGE_DIRECTORY'] %>"
|
container: "<%= ENV['FOG_ACTIVESTORAGE_DIRECTORY'] %>"
|
||||||
credentials:
|
credentials:
|
||||||
openstack_auth_url: "<%= ENV['FOG_OPENSTACK_AUTH_URL'] %>"
|
openstack_auth_url: "<%= ENV['FOG_OPENSTACK_URL'] %>"
|
||||||
openstack_api_key: "<%= ENV['FOG_OPENSTACK_API_KEY'] %>"
|
openstack_api_key: "<%= ENV['FOG_OPENSTACK_API_KEY'] %>"
|
||||||
openstack_username: "<%= ENV['FOG_OPENSTACK_USERNAME'] %>"
|
openstack_username: "<%= ENV['FOG_OPENSTACK_USERNAME'] %>"
|
||||||
openstack_region: "<%= ENV['FOG_OPENSTACK_REGION'] %>"
|
openstack_region: "<%= ENV['FOG_OPENSTACK_REGION'] %>"
|
||||||
|
|
Loading…
Reference in a new issue