aboutsummaryrefslogtreecommitdiff
path: root/app/config/configuration/garage
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-28 12:08:23 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-28 12:08:23 +0100
commit2ef6ab18818e059581cf5744311be223bc5bad96 (patch)
tree9cc0065fecb8515944c83905c28ad1cc60fbba5f /app/config/configuration/garage
parentf4a88fa5659ca658643d3ff07acf9723104d181b (diff)
downloadinfrastructure-2ef6ab18818e059581cf5744311be223bc5bad96.tar.gz
infrastructure-2ef6ab18818e059581cf5744311be223bc5bad96.zip
Simplify configuration
Diffstat (limited to 'app/config/configuration/garage')
-rw-r--r--app/config/configuration/garage/garage.toml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/config/configuration/garage/garage.toml b/app/config/configuration/garage/garage.toml
new file mode 100644
index 0000000..51ae81f
--- /dev/null
+++ b/app/config/configuration/garage/garage.toml
@@ -0,0 +1,21 @@
+block_size = 1048576
+
+metadata_dir = "/garage/meta"
+data_dir = "/garage/data"
+
+rpc_bind_addr = "[::]:3901"
+
+consul_host = "consul.service.2.cluster.deuxfleurs.fr:8500"
+consul_service_name = "garage-rpc"
+
+bootstrap_peers = [ ]
+
+[rpc_tls]
+ca_cert = "/garage/garage-ca.crt"
+node_cert = "/garage/garage.crt"
+node_key = "/garage/garage.key"
+
+[s3_api]
+s3_region = "garage"
+api_bind_addr = "[::]:3900"
+