- copy tls certificate and private key into the root of the project folder
sudo cp /etc/letsencrypt/live/api2.ieltsscience.fun/fullchain.pem .
sudo cp /etc/letsencrypt/live/api2.ieltsscience.fun/privkey.pem .
- run the docker-compose file
docker-compose up --build -d
if you want to run it without docker you just need to specify this env variables. then run the executable
export CERT_FILE=fullchain.pem
export KEY_FILE=privkey.pem