If anyone else comes across this my issue was this volume mount
Which completely replaced everything in the /etc/ssl folder including everything needed for the container to make outgoing SSL connections. Changed this to a different location and restarted the container and it all works fine.