Adding better docs.
This deploys, works. Now, to figure out the WWW hosting and see if the admin API is secure.
This commit is contained in:
21
garage.toml
21
garage.toml
@@ -1,26 +1,35 @@
|
||||
metadata_dir = "/app/data/garage/meta"
|
||||
|
||||
# It is possible to define multiple locations
|
||||
# Garage will try and smear data across those locations
|
||||
# It should be used carefully in a Cloudron context
|
||||
# https://garagehq.deuxfleurs.fr/documentation/operations/multi-hdd/
|
||||
data_dir = [
|
||||
{ path = "/app/data/garage/data", capacity = "1G" },
|
||||
]
|
||||
data_dir = "/app/data/garage/data"
|
||||
|
||||
# Use SQLite as the metadata engine.
|
||||
# This will be stored at /app/data/garage/meta/db.sqlite
|
||||
db_engine = "sqlite"
|
||||
|
||||
# We are not a cluster
|
||||
replication_factor = 1
|
||||
|
||||
# The RPC does not want to be exposed publicly.
|
||||
rpc_bind_addr = "[::]:3901"
|
||||
rpc_public_addr = "127.0.0.1:3901"
|
||||
# GARAGE_RPC_PUBLIC_ADDR is considered optional as of v2.1.0.
|
||||
# And, given that we are a 1-node cluster... no one should be talking to us.
|
||||
# rpc_public_addr = "127.0.0.1:3901"
|
||||
rpc_secret_file = "/app/data/garage/rpc-secret"
|
||||
|
||||
[s3_api]
|
||||
s3_region = "garage"
|
||||
api_bind_addr = "[::]:3900"
|
||||
root_domain = ".s3.garage.localhost"
|
||||
root_domain = ".CLOUDRON_APP_DOMAIN"
|
||||
|
||||
[s3_web]
|
||||
bind_addr = "[::]:3902"
|
||||
root_domain = ".web.garage.localhost"
|
||||
# This wants to be set dynamically in the startup.
|
||||
# That way, it can grab a Cloudron variable.
|
||||
root_domain = ".CLOUDRON_APP_DOMAIN"
|
||||
index = "index.html"
|
||||
|
||||
# [k2v_api]
|
||||
|
||||
Reference in New Issue
Block a user