Merge pull request 'The mesh's own files for a module are placed by the mesh, not the definition (issue 174)' (#197) from feat/the-mesh-places-its-own-files into main

This commit was merged in pull request #197.
This commit is contained in:
2026-09-30 21:49:11 +00:00
48 changed files with 275 additions and 275 deletions
+4 -4
View File
@@ -15,7 +15,7 @@
"model-access": "${dir:state}/access-token"
},
"own-secrets": {
"broker": "/var/lib/mesh/anthropic-consumer/broker"
"broker": "${dir:mesh-state}/broker"
},
"emits": [
"usage.session"
@@ -24,8 +24,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/anthropic-consumer",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -76,7 +76,7 @@
"/app/modules/anthropic-consumer/dist/usage/index.js"
],
"volumes": [
"/var/lib/mesh/anthropic-consumer/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:state}:/run/state"
],
"env": {
+8 -8
View File
@@ -9,13 +9,13 @@
"model-access"
],
"binds": {
"model-access": "/var/lib/mesh/anthropic-manager/model.json"
"model-access": "${dir:mesh-state}/model.json"
},
"secrets": {
"model-access": "/var/lib/mesh/anthropic-manager/refresh-token"
"model-access": "${dir:mesh-state}/refresh-token"
},
"own-secrets": {
"broker": "/var/lib/mesh/anthropic-manager/broker"
"broker": "${dir:mesh-state}/broker"
},
"emits": [
"usage.read"
@@ -24,13 +24,13 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/anthropic-manager",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "out",
"type": "directory",
"path": "/var/lib/mesh/anthropic-manager/out",
"path": "${dir:mesh-state}/out",
"mode": "0700"
},
{
@@ -45,8 +45,8 @@
"/app/modules/anthropic-manager/dist/refresh/index.js"
],
"volumes": [
"/var/lib/mesh/anthropic-manager/broker:/run/secrets/broker:ro",
"/var/lib/mesh/anthropic-manager:/run/state"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}:/run/state"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
+6 -6
View File
@@ -26,7 +26,7 @@
},
"own-secrets": {
"admin": "${dir:state}/admin.secret",
"broker": "/var/lib/mesh/baserow/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -41,8 +41,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/baserow",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -88,7 +88,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/baserow/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{\n \"password\": \"${secret:admin}\",\n \"host\": \"${bound:route:name}\"\n}\n",
"merge": "json"
@@ -99,8 +99,8 @@
"name": "mesh-baserow",
"network": "baserow",
"volumes": [
"/var/lib/mesh/baserow/broker:/run/secrets/broker:ro",
"/var/lib/mesh/baserow/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
+9 -9
View File
@@ -8,8 +8,8 @@
"subtitle.downloaded"
],
"own-secrets": {
"broker": "/var/lib/mesh/bazarr/broker",
"api-key": "/var/lib/mesh/bazarr/api-key"
"broker": "${dir:mesh-state}/broker",
"api-key": "${dir:mesh-state}/api-key"
},
"listens": [
{
@@ -42,8 +42,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/bazarr",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -76,7 +76,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/bazarr/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -87,9 +87,9 @@
"name": "mesh-bazarr",
"network": "host",
"volumes": [
"/var/lib/mesh/bazarr/broker:/run/secrets/broker:ro",
"/var/lib/mesh/bazarr/api-key:/run/secrets/api-key:ro",
"/var/lib/mesh/bazarr/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/api-key:/run/secrets/api-key:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"/services/bazarr/config:/var/lib/bazarr/config:ro"
],
"env": {
@@ -115,7 +115,7 @@
}
},
"binds": {
"route": "/var/lib/mesh/bazarr/route.json"
"route": "${dir:mesh-state}/route.json"
},
"build": {
"on": [
+5 -5
View File
@@ -11,7 +11,7 @@
],
"consumes": [],
"own-secrets": {
"broker": "/var/lib/mesh/bookshelf/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -36,8 +36,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/bookshelf",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -71,7 +71,7 @@
"name": "mesh-bookshelf",
"network": "host",
"volumes": [
"/var/lib/mesh/bookshelf/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"/services/bookshelf/config:/var/lib/bookshelf/config:ro"
],
"env": {
@@ -92,7 +92,7 @@
}
},
"binds": {
"route": "/var/lib/mesh/bookshelf/route.json"
"route": "${dir:mesh-state}/route.json"
},
"build": {
"on": [
+8 -8
View File
@@ -15,20 +15,20 @@
"npm-package-registry"
],
"binds": {
"npm-package-registry": "/var/lib/mesh/builder/package-registry.json"
"npm-package-registry": "${dir:mesh-state}/package-registry.json"
},
"secrets": {
"npm-package-registry": "/var/lib/mesh/builder/package-registry.secret"
"npm-package-registry": "${dir:mesh-state}/package-registry.secret"
},
"own-secrets": {
"broker": "/var/lib/mesh/builder/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/builder",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "workspace",
@@ -38,7 +38,7 @@
{
"id": "builder-env",
"type": "file",
"path": "/var/lib/mesh/builder/builder.env",
"path": "${dir:mesh-state}/builder.env",
"mode": "0600",
"content": "MESH_BROKER_FILE=/run/mesh/broker\nMESH_NODE=${machine:name}\nMESH_REGISTRY=${bound:artifact-store:at}:${bound:artifact-store:port}\nMESH_PACKAGE_BINDING=/run/mesh/package-registry.json\nMESH_NPM_TOKEN_FILE=/run/mesh/package-registry.secret\nMESH_WORKSPACE=${dir:workspace}\n"
},
@@ -48,10 +48,10 @@
"name": "mesh-builder",
"artifact": "server",
"env-file": [
"/var/lib/mesh/builder/builder.env"
"${dir:mesh-state}/builder.env"
],
"volumes": [
"/var/lib/mesh/builder:/run/mesh:ro",
"${dir:mesh-state}:/run/mesh:ro",
"${dir:workspace}:${dir:workspace}",
"/var/run/docker.sock:/var/run/docker.sock"
],
+4 -4
View File
@@ -19,7 +19,7 @@
},
"own-secrets": {
"token": "${dir:state}/token",
"broker": "/var/lib/mesh/cloudflare-dns/broker"
"broker": "${dir:mesh-state}/broker"
},
"emits": [
"record.created",
@@ -29,8 +29,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/cloudflare-dns",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -60,7 +60,7 @@
"${dir:state}/config.json:/run/config/config.json:ro",
"${dir:grants}:/grants",
"${dir:state}/token:/run/secrets/token:ro",
"/var/lib/mesh/cloudflare-dns/broker:/run/secrets/broker:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro"
],
"env": {
"MESH_CLOUDFLARE_TOKEN_FILE": "/run/secrets/token",
+4 -4
View File
@@ -4,14 +4,14 @@
"slug": "confl",
"own-secrets": {
"token": "${dir:state}/token",
"broker": "/var/lib/mesh/confluence/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/confluence",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -35,7 +35,7 @@
"volumes": [
"${dir:state}/config.json:/run/config/config.json:ro",
"${dir:state}/token:/run/secrets/token:ro",
"/var/lib/mesh/confluence/broker:/run/secrets/broker:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro"
],
"env": {
"MESH_CONFLUENCE_TOKEN_FILE": "/run/secrets/token",
+3 -3
View File
@@ -12,7 +12,7 @@
"name.removed"
],
"own-secrets": {
"broker": "/var/lib/mesh/dnsmasq/broker"
"broker": "${dir:mesh-state}/broker"
},
"claims": [
{
@@ -42,8 +42,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/dnsmasq",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "package",
+8 -8
View File
@@ -86,19 +86,19 @@
}
],
"own-secrets": {
"broker": "/var/lib/mesh/gitea/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/gitea",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "runtime-state",
"type": "directory",
"path": "/var/lib/mesh/gitea/state",
"path": "${dir:mesh-state}/state",
"mode": "0700"
},
{
@@ -175,7 +175,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/gitea/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -186,11 +186,11 @@
"name": "mesh-gitea",
"network": "host",
"volumes": [
"/var/lib/mesh/gitea/broker:/run/secrets/broker:ro",
"/var/lib/mesh/gitea/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"${dir:grants}:${dir:grants}:ro",
"${dir:state}/admin.secret:/run/secrets/admin:ro",
"/var/lib/mesh/gitea/state:/run/state"
"${dir:runtime-state}:/run/state"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
+4 -4
View File
@@ -3,14 +3,14 @@
"version": "1",
"own-secrets": {
"token": "${dir:state}/token",
"broker": "/var/lib/mesh/gitlab/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/gitlab",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -34,7 +34,7 @@
"volumes": [
"${dir:state}/config.json:/run/config/config.json:ro",
"${dir:state}/token:/run/secrets/token:ro",
"/var/lib/mesh/gitlab/broker:/run/secrets/broker:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro"
],
"env": {
"MESH_GITLAB_TOKEN_FILE": "/run/secrets/token",
+9 -9
View File
@@ -5,8 +5,8 @@
"alert.firing"
],
"own-secrets": {
"admin": "/var/lib/mesh/grafana/admin",
"broker": "/var/lib/mesh/grafana/broker"
"admin": "${dir:mesh-state}/admin",
"broker": "${dir:mesh-state}/broker"
},
"capabilities": [
"container-runtime"
@@ -24,8 +24,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/grafana",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -108,7 +108,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/grafana/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{\n \"user\": \"admin\",\n \"password\": \"${secret:admin}\"\n}\n",
"merge": "json"
@@ -119,8 +119,8 @@
"name": "mesh-grafana",
"network": "host",
"volumes": [
"/var/lib/mesh/grafana/broker:/run/secrets/broker:ro",
"/var/lib/mesh/grafana/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
@@ -158,8 +158,8 @@
"influxdb-api": "${dir:state}/influxdb.json"
},
"secrets": {
"oidc-client": "/var/lib/mesh/grafana/oidc-client",
"influxdb-api": "/var/lib/mesh/grafana/influxdb-api"
"oidc-client": "${dir:mesh-state}/oidc-client",
"influxdb-api": "${dir:mesh-state}/influxdb-api"
},
"build": {
"on": [
+9 -9
View File
@@ -9,8 +9,8 @@
"state.changed"
],
"own-secrets": {
"broker": "/var/lib/mesh/home-assistant/broker",
"token": "/var/lib/mesh/home-assistant/token"
"broker": "${dir:mesh-state}/broker",
"token": "${dir:mesh-state}/token"
},
"listens": [
{
@@ -39,8 +39,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/home-assistant",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -74,7 +74,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/home-assistant/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -85,9 +85,9 @@
"name": "mesh-home-assistant",
"network": "host",
"volumes": [
"/var/lib/mesh/home-assistant/broker:/run/secrets/broker:ro",
"/var/lib/mesh/home-assistant/token:/run/secrets/token:ro",
"/var/lib/mesh/home-assistant/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/token:/run/secrets/token:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
@@ -107,7 +107,7 @@
"network": "host",
"run-once": true,
"volumes": [
"/var/lib/mesh/home-assistant/token:/run/secrets/token:ro",
"${dir:mesh-state}/token:/run/secrets/token:ro",
"${dir:written}:/var/lib/home-assistant-provisions",
"${dir:state}/mqtt-topic.json:/run/provisions/mqtt-topic.json:ro",
"${dir:state}/mqtt-topic.secret:/run/provisions/mqtt-topic.secret:ro",
+6 -6
View File
@@ -29,7 +29,7 @@
"stream.stopped"
],
"own-secrets": {
"broker": "/var/lib/mesh/icecast/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -44,8 +44,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/icecast",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -91,7 +91,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/icecast/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -102,8 +102,8 @@
"name": "mesh-icecast",
"network": "icecast",
"volumes": [
"/var/lib/mesh/icecast/broker:/run/secrets/broker:ro",
"/var/lib/mesh/icecast/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
+6 -6
View File
@@ -11,7 +11,7 @@
"container-runtime"
],
"own-secrets": {
"broker": "/var/lib/mesh/influxdb/broker",
"broker": "${dir:mesh-state}/broker",
"admin": "${dir:state}/admin.secret",
"admin-token": "${dir:state}/admin-token.secret"
},
@@ -42,8 +42,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/influxdb",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -96,7 +96,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/influxdb/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -107,8 +107,8 @@
"name": "mesh-influxdb",
"network": "host",
"volumes": [
"/var/lib/mesh/influxdb/broker:/run/secrets/broker:ro",
"/var/lib/mesh/influxdb/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"${dir:state}/admin-token.secret:/run/secrets/admin-token:ro",
"${dir:grants}:${dir:grants}:ro"
],
+2 -2
View File
@@ -54,8 +54,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/invoicing",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
+4 -4
View File
@@ -3,14 +3,14 @@
"version": "1",
"own-secrets": {
"token": "${dir:state}/token",
"broker": "/var/lib/mesh/jira/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/jira",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -34,7 +34,7 @@
"volumes": [
"${dir:state}/config.json:/run/config/config.json:ro",
"${dir:state}/token:/run/secrets/token:ro",
"/var/lib/mesh/jira/broker:/run/secrets/broker:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro"
],
"env": {
"MESH_JIRA_TOKEN_FILE": "/run/secrets/token",
+6 -6
View File
@@ -63,14 +63,14 @@
},
"own-secrets": {
"admin": "${dir:state}/admin.secret",
"broker": "/var/lib/mesh/keycloak/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/keycloak",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -140,7 +140,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/keycloak/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -151,8 +151,8 @@
"name": "mesh-keycloak",
"network": "host",
"volumes": [
"/var/lib/mesh/keycloak/broker:/run/secrets/broker:ro",
"/var/lib/mesh/keycloak/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"${dir:state}/admin.secret:/run/secrets/admin:ro",
"${dir:grants}:${dir:grants}:ro"
],
+6 -6
View File
@@ -27,7 +27,7 @@
"own-secrets": {
"server-password": "${dir:state}/server-password.secret",
"openai-api-key": "${dir:state}/openai-api-key.secret",
"broker": "/var/lib/mesh/letta/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -42,8 +42,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/letta",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -80,7 +80,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/letta/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{\n \"password\": \"${secret:server-password}\"\n}\n",
"merge": "json"
@@ -91,8 +91,8 @@
"name": "mesh-letta",
"network": "letta",
"volumes": [
"/var/lib/mesh/letta/broker:/run/secrets/broker:ro",
"/var/lib/mesh/letta/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
+5 -5
View File
@@ -10,7 +10,7 @@
],
"consumes": [],
"own-secrets": {
"broker": "/var/lib/mesh/lidarr/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -35,8 +35,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/lidarr",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -70,7 +70,7 @@
"name": "mesh-lidarr",
"network": "host",
"volumes": [
"/var/lib/mesh/lidarr/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"/services/lidarr/config:/var/lib/lidarr/config:ro"
],
"env": {
@@ -91,7 +91,7 @@
}
},
"binds": {
"route": "/var/lib/mesh/lidarr/route.json"
"route": "${dir:mesh-state}/route.json"
},
"build": {
"on": [
+6 -6
View File
@@ -138,14 +138,14 @@
}
],
"own-secrets": {
"broker": "/var/lib/mesh/mailu/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/mailu",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -467,7 +467,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/mailu/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -478,10 +478,10 @@
"name": "mesh-mailu",
"network": "mailu",
"volumes": [
"/var/lib/mesh/mailu/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:state}/api-token.secret:/run/secrets/api-token:ro",
"${dir:grants}:${dir:grants}:ro",
"/var/lib/mesh/mailu/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"/var/run/docker.sock:/var/run/docker.sock"
],
"env": {
+2 -2
View File
@@ -17,8 +17,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/marrytts",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "server",
+4 -4
View File
@@ -26,7 +26,7 @@
"postgres-database": "${dir:state}/database.secret"
},
"own-secrets": {
"broker": "/var/lib/mesh/mesh-catalog/broker"
"broker": "${dir:mesh-state}/broker"
},
"consumes": [
"mesh-build-machine.built",
@@ -43,8 +43,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/mesh-catalog",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -65,7 +65,7 @@
"name": "mesh-catalog",
"network": "host",
"volumes": [
"/var/lib/mesh/mesh-catalog/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:state}:/run/state",
"${dir:state}/database.url:/run/secrets/database-url:ro"
],
+4 -4
View File
@@ -9,7 +9,7 @@
"*"
],
"own-secrets": {
"broker": "/var/lib/mesh/mesh-console/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -24,8 +24,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/mesh-console",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "server",
@@ -40,7 +40,7 @@
"MESH_CONSOLE_LISTEN": "127.0.0.1:${port:4270}"
},
"volumes": [
"/var/lib/mesh/mesh-console/broker:/run/secrets/broker:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro"
],
"artifact": "runtime"
}
+4 -4
View File
@@ -28,14 +28,14 @@
},
"keeps": "/var/lib/mesh-vault/root",
"own-secrets": {
"broker": "/var/lib/mesh/mesh-vault/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/mesh-vault",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -64,7 +64,7 @@
"name": "mesh-vault",
"network": "host",
"volumes": [
"/var/lib/mesh/mesh-vault/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:${dir:grants}:ro",
"${dir:ledger}:${dir:ledger}",
"${dir:root}:${dir:root}:ro"
+4 -4
View File
@@ -60,14 +60,14 @@
},
"own-secrets": {
"root": "${dir:state}/root.secret",
"broker": "/var/lib/mesh/minio/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/minio",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -132,7 +132,7 @@
"name": "mesh-minio",
"network": "minio-net",
"volumes": [
"/var/lib/mesh/minio/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:${dir:grants}:ro",
"${dir:state}/root.secret:/run/secrets/root:ro"
],
+4 -4
View File
@@ -23,14 +23,14 @@
"*.usage.*"
],
"own-secrets": {
"broker": "/var/lib/mesh/model-usage/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/model-usage",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -52,7 +52,7 @@
"image": "mesh-runtime-model-usage@sha256:0000000000000000000000000000000000000000000000000000000000000000",
"network": "host",
"volumes": [
"/var/lib/mesh/model-usage/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:state}:/run/state",
"${dir:state}/database.url:/run/secrets/database-url:ro"
],
+4 -4
View File
@@ -40,15 +40,15 @@
},
"own-secrets": {
"root": "${dir:state}/root.secret",
"broker": "/var/lib/mesh/mongodb/broker"
"broker": "${dir:mesh-state}/broker"
},
"secrets-owner": "999:999",
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/mongodb",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -95,7 +95,7 @@
"name": "mesh-mongodb",
"network": "mongodb",
"volumes": [
"/var/lib/mesh/mongodb/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:${dir:grants}:ro",
"${dir:state}/root.secret:/run/secrets/root:ro"
],
+7 -7
View File
@@ -32,8 +32,8 @@
"mqtt-topic": "${dir:grants}"
},
"own-secrets": {
"admin": "/var/lib/mesh/mosquitto/admin",
"broker": "/var/lib/mesh/mosquitto/broker"
"admin": "${dir:mesh-state}/admin",
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -55,8 +55,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/mosquitto",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -95,7 +95,7 @@
"run-once": true,
"volumes": [
"${dir:data}:/mosquitto/data",
"/var/lib/mesh/mosquitto/admin:/run/secrets/admin:ro"
"${dir:mesh-state}/admin:/run/secrets/admin:ro"
],
"env": {
"MESH_PROVISION_MQTT": "mosquitto:1883",
@@ -130,9 +130,9 @@
"name": "mesh-mosquitto",
"network": "mosquitto",
"volumes": [
"/var/lib/mesh/mosquitto/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:${dir:grants}:ro",
"/var/lib/mesh/mosquitto/admin:/run/secrets/admin:ro"
"${dir:mesh-state}/admin:/run/secrets/admin:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
+4 -4
View File
@@ -38,14 +38,14 @@
},
"own-secrets": {
"sa": "${dir:state}/sa.secret",
"broker": "/var/lib/mesh/mssql/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/mssql",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -99,7 +99,7 @@
"name": "mesh-mssql",
"network": "mssql",
"volumes": [
"/var/lib/mesh/mssql/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:/var/lib/mssql/grants:ro",
"${dir:state}/sa.secret:/run/secrets/sa:ro"
],
+6 -6
View File
@@ -31,7 +31,7 @@
],
"own-secrets": {
"admin": "${dir:state}/admin.secret",
"broker": "/var/lib/mesh/nextcloud/broker"
"broker": "${dir:mesh-state}/broker"
},
"capabilities": [
"container-runtime"
@@ -49,8 +49,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/nextcloud",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -90,7 +90,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/nextcloud/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -101,8 +101,8 @@
"name": "mesh-nextcloud",
"network": "host",
"volumes": [
"/var/lib/mesh/nextcloud/broker:/run/secrets/broker:ro",
"/var/lib/mesh/nextcloud/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"${dir:state}/admin.secret:/run/secrets/admin:ro",
"/var/run/docker.sock:/var/run/docker.sock"
],
+9 -9
View File
@@ -5,9 +5,9 @@
"flows.deployed"
],
"own-secrets": {
"admin": "/var/lib/mesh/nodered/admin",
"api-token": "/var/lib/mesh/nodered/api-token",
"broker": "/var/lib/mesh/nodered/broker"
"admin": "${dir:mesh-state}/admin",
"api-token": "${dir:mesh-state}/api-token",
"broker": "${dir:mesh-state}/broker"
},
"capabilities": [
"container-runtime"
@@ -25,8 +25,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/nodered",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -90,7 +90,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/nodered/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{\n \"token\": \"${secret:api-token}\"\n}\n"
},
@@ -100,8 +100,8 @@
"name": "mesh-nodered",
"network": "host",
"volumes": [
"/var/lib/mesh/nodered/broker:/run/secrets/broker:ro",
"/var/lib/mesh/nodered/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
@@ -120,7 +120,7 @@
"network": "host",
"run-once": true,
"volumes": [
"/var/lib/mesh/nodered/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"${dir:written}:/var/lib/nodered-provisions",
"${dir:state}/mqtt-topic.json:/run/provisions/mqtt-topic.json:ro",
"${dir:state}/mqtt-topic.secret:/run/provisions/mqtt-topic.secret:ro",
+8 -8
View File
@@ -10,8 +10,8 @@
],
"consumes": [],
"own-secrets": {
"broker": "/var/lib/mesh/nzbget/broker",
"password": "/var/lib/mesh/nzbget/password"
"broker": "${dir:mesh-state}/broker",
"password": "${dir:mesh-state}/password"
},
"listens": [
{
@@ -32,8 +32,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/nzbget",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -63,7 +63,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/nzbget/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -74,9 +74,9 @@
"name": "mesh-nzbget",
"network": "host",
"volumes": [
"/var/lib/mesh/nzbget/broker:/run/secrets/broker:ro",
"/var/lib/mesh/nzbget/password:/run/secrets/password:ro",
"/var/lib/mesh/nzbget/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/password:/run/secrets/password:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"/services/nzbget/config:/var/lib/nzbget/config:ro"
],
"env": {
+9 -9
View File
@@ -9,8 +9,8 @@
"request.approved"
],
"own-secrets": {
"broker": "/var/lib/mesh/ombi/broker",
"api-key": "/var/lib/mesh/ombi/api-key"
"broker": "${dir:mesh-state}/broker",
"api-key": "${dir:mesh-state}/api-key"
},
"listens": [
{
@@ -25,8 +25,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/ombi",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -55,7 +55,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/ombi/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -66,9 +66,9 @@
"name": "mesh-ombi",
"network": "host",
"volumes": [
"/var/lib/mesh/ombi/broker:/run/secrets/broker:ro",
"/var/lib/mesh/ombi/api-key:/run/secrets/api-key:ro",
"/var/lib/mesh/ombi/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/api-key:/run/secrets/api-key:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"/services/ombi/config:/var/lib/ombi/config:ro"
],
"env": {
@@ -94,7 +94,7 @@
}
},
"binds": {
"route": "/var/lib/mesh/ombi/route.json"
"route": "${dir:mesh-state}/route.json"
},
"build": {
"on": [
+6 -6
View File
@@ -13,8 +13,8 @@
"*.download.completed"
],
"own-secrets": {
"broker": "/var/lib/mesh/plex/broker",
"token": "/var/lib/mesh/plex/token"
"broker": "${dir:mesh-state}/broker",
"token": "${dir:mesh-state}/token"
},
"listens": [
{
@@ -51,8 +51,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/plex",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -95,8 +95,8 @@
"name": "mesh-plex",
"network": "host",
"volumes": [
"/var/lib/mesh/plex/broker:/run/secrets/broker:ro",
"/var/lib/mesh/plex/token:/run/secrets/token:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/token:/run/secrets/token:ro",
"/services/plex/config:/var/lib/plex/config:ro"
],
"env": {
+7 -7
View File
@@ -25,8 +25,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/portainer",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "data",
@@ -50,7 +50,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/portainer/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -61,8 +61,8 @@
"name": "mesh-portainer",
"network": "host",
"volumes": [
"/var/lib/mesh/portainer/broker:/run/secrets/broker:ro",
"/var/lib/mesh/portainer/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
@@ -76,7 +76,7 @@
}
],
"own-secrets": {
"broker": "/var/lib/mesh/portainer/broker"
"broker": "${dir:mesh-state}/broker"
},
"build": {
"on": [
@@ -109,6 +109,6 @@
}
},
"binds": {
"route": "/var/lib/mesh/portainer/route.json"
"route": "${dir:mesh-state}/route.json"
}
}
+4 -4
View File
@@ -49,14 +49,14 @@
},
"own-secrets": {
"superuser": "${dir:state}/superuser.secret",
"broker": "/var/lib/mesh/postgres/broker"
"broker": "${dir:mesh-state}/broker"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/postgres",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -99,7 +99,7 @@
"name": "mesh-postgres",
"network": "host",
"volumes": [
"/var/lib/mesh/postgres/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:${dir:grants}:ro",
"${dir:state}/superuser.secret:/run/secrets/superuser:ro"
],
+8 -8
View File
@@ -11,8 +11,8 @@
],
"consumes": [],
"own-secrets": {
"broker": "/var/lib/mesh/qbittorrent/broker",
"password": "/var/lib/mesh/qbittorrent/password"
"broker": "${dir:mesh-state}/broker",
"password": "${dir:mesh-state}/password"
},
"listens": [
{
@@ -33,8 +33,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/qbittorrent",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -64,7 +64,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/qbittorrent/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -75,9 +75,9 @@
"name": "mesh-qbittorrent",
"network": "host",
"volumes": [
"/var/lib/mesh/qbittorrent/broker:/run/secrets/broker:ro",
"/var/lib/mesh/qbittorrent/password:/run/secrets/password:ro",
"/var/lib/mesh/qbittorrent/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/password:/run/secrets/password:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"/services/qbittorrent/config:/var/lib/qbittorrent/config:ro"
],
"env": {
+5 -5
View File
@@ -10,7 +10,7 @@
],
"consumes": [],
"own-secrets": {
"broker": "/var/lib/mesh/radarr/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -35,8 +35,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/radarr",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -70,7 +70,7 @@
"name": "mesh-radarr",
"network": "host",
"volumes": [
"/var/lib/mesh/radarr/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"/services/radarr/config:/var/lib/radarr/config:ro"
],
"env": {
@@ -91,7 +91,7 @@
}
},
"binds": {
"route": "/var/lib/mesh/radarr/route.json"
"route": "${dir:mesh-state}/route.json"
},
"build": {
"on": [
+9 -9
View File
@@ -9,10 +9,10 @@
"git"
],
"binds": {
"git": "/var/lib/mesh/records/git.json"
"git": "${dir:mesh-state}/git.json"
},
"own-secrets": {
"broker": "/var/lib/mesh/records/broker"
"broker": "${dir:mesh-state}/broker"
},
"consumes": [
"gitea.pull.merged"
@@ -28,8 +28,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/records",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "checkout",
@@ -40,7 +40,7 @@
{
"id": "config",
"type": "file",
"path": "/var/lib/mesh/records/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -48,7 +48,7 @@
{
"id": "origin",
"type": "file",
"path": "/var/lib/mesh/records/origin",
"path": "${dir:mesh-state}/origin",
"mode": "0600",
"content": "${bound:git:scheme}://${bound:git:at}:${bound:git:port}\n"
},
@@ -58,9 +58,9 @@
"name": "records",
"network": "host",
"volumes": [
"/var/lib/mesh/records/broker:/run/secrets/broker:ro",
"/var/lib/mesh/records/config.json:/run/config/config.json:ro",
"/var/lib/mesh/records/origin:/run/config/origin:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/origin:/run/config/origin:ro",
"${dir:checkout}:${dir:checkout}"
],
"env": {
+4 -4
View File
@@ -36,7 +36,7 @@
"secret": "${dir:state}/default.secret"
},
"own-secrets": {
"broker": "/var/lib/mesh/redis/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -51,8 +51,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/redis",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -110,7 +110,7 @@
"name": "mesh-redis",
"network": "redis",
"volumes": [
"/var/lib/mesh/redis/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:/var/lib/redis-module/grants:ro",
"${dir:state}/default.secret:/run/secrets/default:ro"
],
+7 -7
View File
@@ -5,8 +5,8 @@
"container-runtime"
],
"own-secrets": {
"secret": "/var/lib/mesh/searxng/secret",
"broker": "/var/lib/mesh/searxng/broker"
"secret": "${dir:mesh-state}/secret",
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -21,8 +21,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/searxng",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -85,7 +85,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/searxng/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n"
},
@@ -95,8 +95,8 @@
"name": "mesh-searxng",
"network": "host",
"volumes": [
"/var/lib/mesh/searxng/broker:/run/secrets/broker:ro",
"/var/lib/mesh/searxng/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
+4 -4
View File
@@ -26,7 +26,7 @@
"postgres-database": "${dir:state}/database.secret"
},
"own-secrets": {
"broker": "/var/lib/mesh/showcase/broker"
"broker": "${dir:mesh-state}/broker"
},
"claims": [
{
@@ -94,8 +94,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/showcase",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -178,7 +178,7 @@
"artifact": "helper",
"network": "showcase",
"volumes": [
"/var/lib/mesh/showcase/broker:/run/secrets/broker:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker"
+5 -5
View File
@@ -10,7 +10,7 @@
],
"consumes": [],
"own-secrets": {
"broker": "/var/lib/mesh/sonarr/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -39,8 +39,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/sonarr",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -75,7 +75,7 @@
"name": "mesh-sonarr",
"network": "host",
"volumes": [
"/var/lib/mesh/sonarr/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"/services/sonarr/config:/var/lib/sonarr/config:ro"
],
"env": {
@@ -96,7 +96,7 @@
}
},
"binds": {
"route": "/var/lib/mesh/sonarr/route.json"
"route": "${dir:mesh-state}/route.json"
},
"build": {
"on": [
+7 -7
View File
@@ -34,14 +34,14 @@
}
],
"own-secrets": {
"password": "/var/lib/mesh/step-ca/password"
"password": "${dir:mesh-state}/password"
},
"resources": [
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/step-ca",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "home",
@@ -53,7 +53,7 @@
{
"id": "config",
"type": "file",
"path": "/var/lib/mesh/step-ca/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0644",
"content": "{}",
"merge": "json"
@@ -61,7 +61,7 @@
{
"id": "init-env",
"type": "file",
"path": "/var/lib/mesh/step-ca/init.env",
"path": "${dir:mesh-state}/init.env",
"mode": "0600",
"content": "DOCKER_STEPCA_INIT_PASSWORD=${secret:password}\nDOCKER_STEPCA_INIT_DNS_NAMES=${machine:at},${machine:name},localhost,127.0.0.1\n"
},
@@ -72,7 +72,7 @@
"image": "smallstep/step-ca@sha256:a2b17872915c193259b75a5474c398326f41bd199f0842093e52cf4182bc8270",
"network": "host",
"env-file": [
"/var/lib/mesh/step-ca/init.env"
"${dir:mesh-state}/init.env"
],
"env": {
"DOCKER_STEPCA_INIT_NAME": "Mesh Internal CA",
@@ -81,7 +81,7 @@
},
"volumes": [
"${dir:home}:/home/step",
"/var/lib/mesh/step-ca:/run/mesh:ro"
"${dir:mesh-state}:/run/mesh:ro"
],
"secrets-in-environment": "the entrypoint honours DOCKER_STEPCA_INIT_PASSWORD_FILE; convertible, awaiting a bed that proves it"
}
+7 -7
View File
@@ -5,7 +5,7 @@
"watch.recorded"
],
"own-secrets": {
"broker": "/var/lib/mesh/tautulli/broker"
"broker": "${dir:mesh-state}/broker"
},
"capabilities": [
"container-runtime"
@@ -23,8 +23,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/tautulli",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "config",
@@ -53,7 +53,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/tautulli/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{}\n",
"merge": "json"
@@ -64,8 +64,8 @@
"name": "mesh-tautulli",
"network": "host",
"volumes": [
"/var/lib/mesh/tautulli/broker:/run/secrets/broker:ro",
"/var/lib/mesh/tautulli/config.json:/run/config/config.json:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro",
"/services/tautulli/config:/var/lib/tautulli/config:ro"
],
"env": {
@@ -90,7 +90,7 @@
}
},
"binds": {
"route": "/var/lib/mesh/tautulli/route.json"
"route": "${dir:mesh-state}/route.json"
},
"build": {
"on": [
+4 -4
View File
@@ -45,7 +45,7 @@
"analytics": "${dir:grants}"
},
"own-secrets": {
"broker": "/var/lib/mesh/umami/broker"
"broker": "${dir:mesh-state}/broker"
},
"listens": [
{
@@ -60,8 +60,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/umami",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -113,7 +113,7 @@
"name": "mesh-umami",
"network": "umami",
"volumes": [
"/var/lib/mesh/umami/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:grants}:${dir:grants}",
"${dir:state}/admin.secret:/run/secrets/admin:ro"
],
+7 -7
View File
@@ -73,8 +73,8 @@
{
"id": "mesh-state",
"type": "directory",
"path": "/var/lib/mesh/unifi",
"mode": "0700"
"mode": "0700",
"place": "mesh"
},
{
"id": "state",
@@ -118,7 +118,7 @@
{
"id": "runtime-config",
"type": "file",
"path": "/var/lib/mesh/unifi/config.json",
"path": "${dir:mesh-state}/config.json",
"mode": "0600",
"content": "{\n \"site\": \"default\",\n \"password\": \"${secret:controller}\"\n}\n",
"merge": "json"
@@ -129,8 +129,8 @@
"name": "mesh-unifi",
"network": "host",
"volumes": [
"/var/lib/mesh/unifi/broker:/run/secrets/broker:ro",
"/var/lib/mesh/unifi/config.json:/run/config/config.json:ro"
"${dir:mesh-state}/broker:/run/secrets/broker:ro",
"${dir:mesh-state}/config.json:/run/config/config.json:ro"
],
"env": {
"MESH_BROKER_FILE": "/run/secrets/broker",
@@ -158,8 +158,8 @@
"route": "${dir:state}/route.json"
},
"own-secrets": {
"broker": "/var/lib/mesh/unifi/broker",
"controller": "/var/lib/mesh/unifi/controller"
"broker": "${dir:mesh-state}/broker",
"controller": "${dir:mesh-state}/controller"
},
"build": {
"on": [