This deploys, works. Now, to figure out the WWW hosting and see if the admin API is secure.
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
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 = "/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"
|
|
# 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 = ".CLOUDRON_APP_DOMAIN"
|
|
|
|
[s3_web]
|
|
bind_addr = "[::]:3902"
|
|
# 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]
|
|
# api_bind_addr = "[::]:3904"
|
|
|
|
[admin]
|
|
api_bind_addr = "[::]:3903"
|
|
admin_token = "$(openssl rand -base64 32)"
|
|
metrics_token = "$(openssl rand -base64 32)" |