Merge pull request 'The control plane migrates before it serves' (#123) from fix/the-control-plane-migrates-before-it-serves into main
This commit was merged in pull request #123.
This commit is contained in:
+24
@@ -34,6 +34,30 @@
|
|||||||
"path": "/var/lib/mesh/mesh-controller",
|
"path": "/var/lib/mesh/mesh-controller",
|
||||||
"mode": "0700"
|
"mode": "0700"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "migrate",
|
||||||
|
"type": "container",
|
||||||
|
"name": "mesh-controller-migrate",
|
||||||
|
"run-once": true,
|
||||||
|
"network": "host",
|
||||||
|
"args": [
|
||||||
|
"migrate"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"MESH_STORE_INVENTORY_FILE": "/run/secrets/inventory",
|
||||||
|
"MESH_STORE_IDENTITY_FILE": "/run/secrets/identity",
|
||||||
|
"MESH_STORE_LICENCES_FILE": "/run/secrets/licences",
|
||||||
|
"MESH_STORE_INVENTORY_PORT": "${seat:mesh-store:5432}",
|
||||||
|
"MESH_STORE_IDENTITY_PORT": "${seat:mesh-store:5432}",
|
||||||
|
"MESH_STORE_LICENCES_PORT": "${seat:mesh-store:5432}"
|
||||||
|
},
|
||||||
|
"volumes": [
|
||||||
|
"/var/lib/mesh/mesh-controller/inventory:/run/secrets/inventory:ro",
|
||||||
|
"/var/lib/mesh/mesh-controller/identity:/run/secrets/identity:ro",
|
||||||
|
"/var/lib/mesh/mesh-controller/licences:/run/secrets/licences:ro"
|
||||||
|
],
|
||||||
|
"artifact": "server"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "server",
|
"id": "server",
|
||||||
"type": "container",
|
"type": "container",
|
||||||
|
|||||||
Reference in New Issue
Block a user