diff options
author | Krzysztof Gajewski <krzysztof.gajewski@nokia.com> | 2021-02-25 11:38:57 +0100 |
---|---|---|
committer | Krzysztof Gajewski <krzysztof.gajewski@nokia.com> | 2021-03-04 13:33:05 +0100 |
commit | b1b6fa12fc2923d73955d7b9935ff4293a0021c9 (patch) | |
tree | 9fc29967426b1e27a6f494b2db59242ed9fe80f2 /test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml | |
parent | 30baa4a36a92d2766bd7e0c0ba38fac7ef6dfada (diff) |
Modify DFC HTTP mock to consume PNF-Simulator HTTP server
Issue-ID: DCAEGEN2-2536
Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>
Change-Id: I1737bc1d5d5558552afd32c93ca68d1143d36a89
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.yml | 14 |
1 files changed, 7 insertions, 7 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 4e6263ee7..e64908d96 100644 --- a/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml +++ b/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml @@ -4,7 +4,7 @@ services: http-https-server: container_name: http-https-server-httpd - image: httpd:2.4 + image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5 environment: APACHE_LOG_DIR: /usr/local/apache2/logs ports: @@ -14,11 +14,11 @@ services: - "32000:32000" - "32100:32100" volumes: - - ./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 - - ./apache2/lib/libjwt.so.1.7.0:/usr/lib/x86_64-linux-gnu/libjwt.so.1:ro - - ./apache2/modules/mod_authnz_jwt.so:/usr/local/apache2/modules/mod_authnz_jwt.so:ro - - ./../certservice/generated-certs/apache-pem:/usr/local/apache2/certs:ro + - ./../certservice/generated-certs/apache-pem:/etc/apache2/certs:ro - ./files/onap/http:/usr/local/apache2/htdocs + command: bash -c " + echo 'Http Server start'; + touch /usr/local/apache2/htdocs/index.html; + /usr/sbin/apache2ctl -D FOREGROUND; + " restart: on-failure |