From 6213aa23c038a0d527ff506518d308274d7d5d6b Mon Sep 17 00:00:00 2001 From: Cristiano Kubiaki Date: Wed, 24 Jun 2020 06:43:06 +0100 Subject: [PATCH] Enabling SSL Enabling SSL and creating a path to store the SSL. --- docker-compose_nginx.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docker-compose_nginx.yml b/docker-compose_nginx.yml index b0f588b..f769a75 100644 --- a/docker-compose_nginx.yml +++ b/docker-compose_nginx.yml @@ -27,9 +27,13 @@ services: - testrail ports: - "${HTTP_PORT:-8000}:80" + - "${HTTPS_PORT:-443}:443" + environment: + SSL: "{SSL:true}" volumes: - 'testrail_root:/var/www/testrail' - 'testrail_opt:/opt/testrail' + - 'testrail_ssl:/opt/nginx/ssl' db: @@ -63,6 +67,13 @@ volumes: type: none device: "$PWD/${OPT_PATH:-_opt}" o: bind + + testrail_ssl: + driver: local + driver_opts: + type: none + device: "$PWD/${OPT_PATH:-_ssl}" + o: bind testrail_mysql: driver: local @@ -76,4 +87,4 @@ volumes: driver_opts: type: none device: "$PWD/${CONFIG_PATH:-_config}" - o: bind \ No newline at end of file + o: bind