Merge pull request 'route-proxy: a bus account, to read its membership (hq ADR 0167, issue 191)' (#211) from jschoubben/an-internal-only-route into main

This commit was merged in pull request #211.
This commit is contained in:
2026-10-01 23:49:50 +00:00
+13 -2
View File
@@ -25,6 +25,9 @@
"acme-ca": "${dir:state}/acme-ca.json", "acme-ca": "${dir:state}/acme-ca.json",
"internal-acme-ca": "${dir:state}/internal-acme-ca.json" "internal-acme-ca": "${dir:state}/internal-acme-ca.json"
}, },
"own-secrets": {
"broker": "${dir:mesh-state}/broker"
},
"listens": [ "listens": [
{ {
"name": "http", "name": "http",
@@ -48,6 +51,12 @@
"mode": "0700", "mode": "0700",
"place": "." "place": "."
}, },
{
"id": "mesh-state",
"type": "directory",
"mode": "0700",
"place": "mesh"
},
{ {
"id": "routes-dir", "id": "routes-dir",
"type": "directory", "type": "directory",
@@ -137,7 +146,8 @@
"volumes": [ "volumes": [
"${dir:routes-dir}:/routes:ro", "${dir:routes-dir}:/routes:ro",
"${dir:acme-cache}:/acme", "${dir:acme-cache}:/acme",
"${dir:ca-dir}:/ca:ro" "${dir:ca-dir}:/ca:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro"
], ],
"env": { "env": {
"ROUTES": "/routes/mesh.json", "ROUTES": "/routes/mesh.json",
@@ -145,7 +155,8 @@
"TLS_LISTEN": ":443", "TLS_LISTEN": ":443",
"ACME_CACHE": "/acme", "ACME_CACHE": "/acme",
"ACME_CA_BUNDLE": "/ca/root.crt", "ACME_CA_BUNDLE": "/ca/root.crt",
"INTERNAL_ACME_CA_BUNDLE": "/ca/internal-root.crt" "INTERNAL_ACME_CA_BUNDLE": "/ca/internal-root.crt",
"MESH_BROKER_FILE": "/run/secrets/broker"
}, },
"restart-on": [ "restart-on": [
"trust", "trust",