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.yml14
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