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