I’m having trouble locking down ports using the platformsh recipe with multiple database containers.
I'm on the latest versions of Lando and the platformsh CLI. Here are the relevant excerpt from my configuration:
[services.yaml]
db:
type: mariadb:10.4
disk: 2048
db2:
type: mariadb:10.4
disk: 2048
[.platform.app.yaml]
relationships:
database: "db:mysql"
database2: "db2:mysql"
[.lando.yml]
recipe: platformsh
services:
db:
portforward: 3307
db2:
portforward: 3308
lando rebuild -y returns:
{ service: 'db',
type: 'platformsh-mariadb',
creds:
[ { internal_hostname: 'database.internal', path: 'main', port: 3306, user: 'user' } ],
internal_connection: { host: 'db', port: '3306' },
external_connection: { host: '127.0.0.1', port: '64811' },
{ service: 'db2',
type: 'platformsh-mariadb',
creds:
[ { internal_hostname: 'database2.internal', path: 'main', port: 3306, user: 'user' } ],
internal_connection: { host: 'db2', port: '3306' },
external_connection: { host: '127.0.0.1', port: '64810' },
There's a nearly identical and now-closed issue at #39. Either there's a regression somewhere or I don't know what I'm doing. Trying to understand the lando logs commands to troubleshoot this but the docs are 404.
I’m having trouble locking down ports using the platformsh recipe with multiple database containers.
I'm on the latest versions of Lando and the platformsh CLI. Here are the relevant excerpt from my configuration:
lando rebuild -yreturns:There's a nearly identical and now-closed issue at #39. Either there's a regression somewhere or I don't know what I'm doing. Trying to understand the lando logs commands to troubleshoot this but the docs are 404.