aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml')
-rw-r--r--test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml17
1 files changed, 11 insertions, 6 deletions
diff --git a/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml b/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
index 537cfcfaf..09b698f89 100644
--- a/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
+++ b/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
@@ -2,14 +2,19 @@ version: '3'
services:
- http-server:
- container_name: http-server-httpd
+ http-https-server:
+ container_name: http-https-server-httpd
image: httpd:alpine
+ environment:
+ APACHE_LOG_DIR: /usr/local/apache2/logs
ports:
- "80:80"
+ - "443:443"
+ - "8080:8080"
volumes:
- - ./configuration/htpasswd:/usr/local/apache2/conf/.htpasswd:ro
- - ./configuration/httpd.conf:/usr/local/apache/conf/httpd.conf:ro
-
- - ./files/onap/http/:/usr/local/apache2/htdocs
+ - ./apache2/conf/.htpasswd:/usr/local/apache2/conf/.htpasswd:ro
+ - ./apache2/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
+ - ./apache2/conf/extra/httpd-ssl.conf:/usr/local/apache2/conf/extra/httpd-ssl.conf:ro
+ - ./../certservice/generated-certs/apache-pem:/usr/local/apache2/certs:ro
+ - ./files/onap/http:/usr/local/apache2/htdocs
restart: on-failure