aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-02-01 17:46:51 +0100
committerKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-02-11 18:12:27 +0100
commitc746882a07952a0cd460e6fa8bcac246289db6b9 (patch)
treef1398e07e0916d19860f52e48191597d0ff5e9b0 /test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
parentae43fa6fee1bb5b8cb68e21f50b477c084ef21eb (diff)
Add HTTPS to DFC tests
- testing environment preparation for DFC with HTTPS client (expand existing http server) - add suitable TCs for CSIT tests Issue-ID: DCAEGEN2-2528 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: Ifa8abb827e269d76144fc74c65031dd387fe5fe7
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