export COMPOSE_TLS_VERSION=TLSv1_2 code example
Example: SSL error: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
Fix issue with docker-compose build not working
$ export COMPOSE_TLS_VERSION=TLSv1_2
https://github.com/docker/compose/issues/6473