-
From the docker-compose yaml file add below line under volume in the
boldreports
service.- nginx_data:/etc/nginx/sites-available
-
Add below block for
nginx
in volume and allocate a directory in your host machine to store the shared folders for applications’ usage. Replace the directory path with<host_path_nginx_data>
in docker-compose.yml file and up a container.nginx_data: driver: local driver_opts: type: 'none' o: 'bind' device: '<host_path_nginx_data>'
For example,
Windows:device: 'D:/boldreports/nginx_data'
anddevice: 'D:/boldreports/nginx_data'
Linux:device: '/var/boldreports/nginx_data'
anddevice: '/var/boldreports/nginx_data'
-
Copy the SSL certificate
.key
and.crt
format and paste inside thenginx
mount folder. -
Refer below document for SSL changes in
nginx
file .https://github.com/bold-reports/bold-reports-docker/blob/master/docs/ssl-termination.md
-
Restart the Bold Reports container using below command.
docker restart <container-name or container ID>
-
Add a SSL certificate path with
.key
and.crt
file in docker-compose yaml file. -
Refer below document for SSL changes in
nginx
file .https://github.com/bold-reports/bold-reports-docker/blob/master/docs/ssl-termination.md
-
Restart the Nginx container using below command.
docker restart <container-name or container ID>