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