From 2ef6ab18818e059581cf5744311be223bc5bad96 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 28 Oct 2020 12:08:23 +0100 Subject: Simplify configuration --- app/config/configuration/.gitignore | 33 ----------------------------- app/config/configuration/garage/garage.toml | 21 ++++++++++++++++++ 2 files changed, 21 insertions(+), 33 deletions(-) delete mode 100644 app/config/configuration/.gitignore create mode 100644 app/config/configuration/garage/garage.toml (limited to 'app/config') 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" + -- cgit v1.2.3