aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2020-12-29 13:58:35 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2021-01-13 14:43:19 +0000
commitb837e334c875d2c2392fe51d711515a97aeb6c78 (patch)
tree85f6fbd45a8f9cc8f7c8c0a94757f4505b289eaf /test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
parenta00402a48e87b132ca8cf90e474970c3aebdb125 (diff)
Add HTTP to DFC tests
- testing environment preparation for DFC with HTTP client - add suitable TCs for CSIT tests Issue-ID: DCAEGEN2-2527 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: Ic419c38125201ed6578a308ba258709f20ae65bd
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.yml15
1 files changed, 15 insertions, 0 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
new file mode 100644
index 000000000..537cfcfaf
--- /dev/null
+++ b/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
@@ -0,0 +1,15 @@
+version: '3'
+
+services:
+
+ http-server:
+ container_name: http-server-httpd
+ image: httpd:alpine
+ ports:
+ - "80:80"
+ 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
+ restart: on-failure