aboutsummaryrefslogtreecommitdiff
path: root/app/config
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
parentf4a88fa5659ca658643d3ff07acf9723104d181b (diff)
downloadinfrastructure-2ef6ab18818e059581cf5744311be223bc5bad96.tar.gz
infrastructure-2ef6ab18818e059581cf5744311be223bc5bad96.zip
Simplify configuration
Diffstat (limited to 'app/config')
-rw-r--r--app/config/configuration/.gitignore33
-rw-r--r--app/config/configuration/garage/garage.toml21
2 files changed, 21 insertions, 33 deletions
diff --git a/app/config/configuration/.gitignore b/app/config/configuration/.gitignore
deleted file mode 100644
index 86bd34a..0000000
--- a/app/config/configuration/.gitignore
+++ /dev/null
@@ -1,33 +0,0 @@
-# Blacklist everything cleverly
-*
-!*/
-
-# Whitelist some patterns
-!*.sample
-!*.gen
-!*.tpl
-!.gitignore
-
-# Whitelist specific files
-!seafile/conf/seafdav.conf
-!seafile/ccnet/seafile.ini
-
-!email/dkim/keytable
-!email/dkim/signingtable
-!email/dkim/trusted
-!email/postfix/dynamicmaps.cf
-!email/postfix/header_checks
-!email/postfix/main.cf
-!email/postfix/master.cf
-!email/postfix/transport
-!email/postfix/transport.db
-
-!email/sogo/sogo.conf.tpl
-
-!chat/**/*
-!plume/**/*
-!directory/*/*
-
-!traefik/traefik.toml
-
-!garage/config.toml
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"
+