Install/configure Garage
Add a garage cookbook that installs the garage binary distribution and creates the necessary configuration and system service. Also deploy two new VMs to act as storage nodes. refs #428
This commit is contained in:
26
site-cookbooks/kosmos_garage/templates/garage.toml.erb
Normal file
26
site-cookbooks/kosmos_garage/templates/garage.toml.erb
Normal file
@@ -0,0 +1,26 @@
|
||||
metadata_dir = "<%= @metadata_dir %>"
|
||||
data_dir = "<%= @data_dir %>"
|
||||
db_engine = "<%= @db_engine %>"
|
||||
|
||||
replication_mode = "none"
|
||||
|
||||
rpc_bind_addr = "[::]:<%= @rpc_port %>"
|
||||
rpc_public_addr = "<%= @rpc_public_addr %>"
|
||||
rpc_secret = "<%= @rpc_secret %>"
|
||||
|
||||
[s3_api]
|
||||
s3_region = "<%= @s3_region %>"
|
||||
api_bind_addr = "[::]:<%= @s3_api_port %>"
|
||||
root_domain = "<%= @s3_api_root_domain %>"
|
||||
|
||||
[s3_web]
|
||||
bind_addr = "[::]:<%= @s3_web_port %>"
|
||||
root_domain = "<%= @s3_web_root_domain %>"
|
||||
index = "index.html"
|
||||
|
||||
[k2v_api]
|
||||
api_bind_addr = "[::]:<%= @k2v_api_port %>"
|
||||
|
||||
[admin]
|
||||
api_bind_addr = "0.0.0.0:<%= @admin_port %>"
|
||||
admin_token = "<%= @admin_token %>"
|
||||
Reference in New Issue
Block a user