Difficulties using custom ssl certificates

Hi, I would like to use Let’s encrypt to auto generate signed SSL certs for white label openremote deployments. What do we need to change in the docker-compose.yml file? Is it just add the volumes?
volumes:
- proxy-data:/deployment
- ./deployment/certs/apache.pem:/etc/haproxy/certs/00-custom
Is it just Any where else we need to configure?
So far I have not gotten it to work.

Any help is appreciated.