Add grpc_addr and [web] section to example configs

Both deploy/examples configs now document the new server.grpc_addr and
[web] settings introduced with the metacrypt-web separation. The Docker
example uses the compose service name (metacrypt:9443) as vault_grpc.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 09:11:13 -07:00
parent cc1ac2e255
commit 33beb33a13
2 changed files with 30 additions and 0 deletions

View File

@@ -3,9 +3,16 @@
[server]
listen_addr = ":8443"
grpc_addr = ":9443"
tls_cert = "/srv/metacrypt/certs/server.crt"
tls_key = "/srv/metacrypt/certs/server.key"
[web]
# metacrypt-web connects to the vault container by its compose service name.
listen_addr = ":8080"
vault_grpc = "metacrypt:9443"
vault_ca_cert = "/srv/metacrypt/certs/server.crt"
[database]
path = "/srv/metacrypt/metacrypt.db"