garage_ynh/conf/garage.toml

37 lines
916 B
TOML
Raw Normal View History

2022-10-06 07:46:45 +00:00
metadata_dir = "/opt/yunohost/__APP__/metadata"
data_dir = "__DATADIR__"
2022-07-30 12:02:57 +00:00
block_size = 1048576
block_manager_background_tranquility = 2
replication_mode = "3"
compression_level = 1
# openssl rand -hex 32
rpc_secret = "__RPC_SECRET__"
rpc_bind_addr = "[::]:__PORT__"
# Le port peut être différent (eg NAT) mais doit rediriger sur le
# port de rpc_bind_addr
2022-10-06 07:46:45 +00:00
#rpc_public_addr = "__IP__:__PORT__"
2022-07-30 12:02:57 +00:00
bootstrap_peers = [
2022-10-06 07:46:45 +00:00
__BOOTSTRAP_PEERS_VAR__
2022-07-30 12:02:57 +00:00
]
[s3_api]
# Ne supporte pas TLS → reverse proxy obligatoire
# pour avoir de la sécurité
api_bind_addr = "[::]:__PORT_API__"
s3_region = "garage"
[s3_web]
2022-10-06 07:46:45 +00:00
bind_addr = "[::]:__PORT_WEB__"
2022-07-30 12:02:57 +00:00
root_domain = ".web.garage.localhost"
index = "index.html"
[admin]
api_bind_addr = "127.0.0.1:__PORT_ADMIN__"
metrics_token = "cacce0b2de4bc2d9f5b5fdff551e01ac1496055aed248202d415398987e35f81"
admin_token = "ae8cb40ea7368bbdbb6430af11cca7da833d3458a5f52086f4e805a570fb5c2a"