-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgarage.toml
More file actions
29 lines (24 loc) · 1020 Bytes
/
Copy pathgarage.toml
File metadata and controls
29 lines (24 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Local development configuration for Garage (see compose.yaml).
#
# These secrets are deliberately committed: this file only ever configures the
# throwaway single-node Garage that `docker compose up` starts on localhost.
# The deployed cluster gets its credentials from the `garage-user` Kubernetes
# secret instead (see kubernetes/deployment.yaml).
metadata_dir = "/var/lib/garage/meta"
data_dir = "/var/lib/garage/data"
db_engine = "sqlite"
# Single node, so nothing to replicate.
replication_factor = 1
rpc_bind_addr = "[::]:3901"
# Reachable under this name on the compose network, which is how the one-shot
# `garage-init` service talks to the daemon.
rpc_public_addr = "garage:3901"
rpc_secret = "92367cd3177b6824a9b0abbc9103f959a721d7294bd69a5f6cf1ee80ec642d7a"
[s3_api]
# Must match S3_REGION in .env.
s3_region = "garage"
api_bind_addr = "[::]:3900"
root_domain = ".s3.garage.localhost"
[admin]
api_bind_addr = "[::]:3903"
admin_token = "114bb85d0e0640f57b538d70a0dcaeb6932441dcaeb85227776a11dbf6f8cdf9"