Closed petrkalina closed 4 years ago
I'm not able to reproduce now .. not sure what cause the problem .. not the lifecycle seems working!!
ships:
db:
# address to which the containers' exposed ports bind - resolves to 10.66.22.1
ip: db1-a.xxx
docker_port: 2376
# address to which the docker daemon binds
endpoint: db1mgt-a.xxx
tls: true
tls_verify: true
tls_ca_cert: /opt/j4care/conf/maestro/ship-tls/ca.crt
tls_key: /opt/j4care/conf/maestro/ship-tls/ship.key
tls_cert: /opt/j4care/conf/maestro/ship-tls/ship.crt
ssl_version: PROTOCOL_TLSv1_2
services:
db-psql:
image:postgres
instances:
db-psql1:
ship: db
ports:
postgresql:
exposed: 5432
external: [ 10.66.22.1, 5432 ]
lifecycle:
running: [{type: tcp, port: postgresql}]
works..
.. lifecycle does not detect the port being open and this command hangs
.. even if the port i correctly bound
... and works