Add garage :)
This commit is contained in:
parent
ba16fa4246
commit
6a9b3f6fa0
3 changed files with 226 additions and 3 deletions
35
apps/garage/garage.toml
Normal file
35
apps/garage/garage.toml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
metadata_dir = "/meta"
|
||||
data_dir = "/data"
|
||||
db_engine = "sqlite"
|
||||
|
||||
replication_factor = 3
|
||||
metadata_auto_snapshot_interval = "24h"
|
||||
|
||||
{{ $wg_addr := print "config/wg/by_hostname/" (env "attr.unique.hostname") }}
|
||||
rpc_bind_addr = "[::]:3901"
|
||||
rpc_public_addr = "{{ key $wg_addr }}:3901"
|
||||
|
||||
rpc_secret = "{{ key "secrets/garage/rpc_secret" | trimSpace }}"
|
||||
|
||||
allow_punycode = true
|
||||
|
||||
[consul_discovery]
|
||||
consul_http_addr = "http://127.0.0.1:8500"
|
||||
service_name = "garage-prod-discovery"
|
||||
|
||||
[s3_api]
|
||||
s3_region = "garage"
|
||||
api_bind_addr = "[::]:3900"
|
||||
root_domain = ".garage.chokbar.bzh"
|
||||
|
||||
[k2v_api]
|
||||
api_bind_addr = "[::]:3904"
|
||||
|
||||
[s3_web]
|
||||
bind_addr = "[::]:3902"
|
||||
root_domain = ""
|
||||
|
||||
[admin]
|
||||
api_bind_addr = "[::]:3903"
|
||||
metrics_token = "{{ key "secrets/garage/metrics_token" | trimSpace }}"
|
||||
admin_token = "{{ key "secrets/garage/admin_token" | trimSpace }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue