aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/docker-compose.yml
blob: e64908d96188fcc24623c36abdd786d638a70b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3'

services:

  http-https-server:
    container_name: http-https-server-httpd
    image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5
    environment:
      APACHE_LOG_DIR: /usr/local/apache2/logs
    ports:
      - "80:80"
      - "443:443"
      - "8080:8080"
      - "32000:32000"
      - "32100:32100"
    volumes:
      - ./../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