garage_ynh/conf/garage.toml

25 lines
578 B
TOML
Raw Normal View History

2022-10-06 09:46:45 +02:00
metadata_dir = "/opt/yunohost/__APP__/metadata"
2022-11-29 15:57:03 +01:00
data_dir = "__DATADIR__/data"
2022-07-30 14:02:57 +02: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-11-29 14:38:41 +01:00
rpc_public_addr = "__DOMAIN__:__PORT__"
2022-07-30 14:02:57 +02:00
bootstrap_peers = []
2022-07-30 14:02:57 +02:00
[s3_api]
# Ne supporte pas TLS → reverse proxy obligatoire
# pour avoir de la sécurité
api_bind_addr = "[::]:__PORT_API__"
s3_region = "garage"