blob: e64908d96188fcc24623c36abdd786d638a70b44 [file] [log] [blame]
Krzysztof Gajewskib837e332020-12-29 13:58:35 +01001version: '3'
2
3services:
4
Krzysztof Gajewskic7468822021-02-01 17:46:51 +01005 http-https-server:
6 container_name: http-https-server-httpd
Krzysztof Gajewskib1b6fa12021-02-25 11:38:57 +01007 image: nexus3.onap.org:10001/onap/org.onap.integration.simulators.httpserver:1.0.5
Krzysztof Gajewskic7468822021-02-01 17:46:51 +01008 environment:
9 APACHE_LOG_DIR: /usr/local/apache2/logs
Krzysztof Gajewskib837e332020-12-29 13:58:35 +010010 ports:
11 - "80:80"
Krzysztof Gajewskic7468822021-02-01 17:46:51 +010012 - "443:443"
13 - "8080:8080"
Krzysztof Gajewskiaadaad62021-02-15 23:41:16 +010014 - "32000:32000"
15 - "32100:32100"
Krzysztof Gajewskib837e332020-12-29 13:58:35 +010016 volumes:
Krzysztof Gajewskib1b6fa12021-02-25 11:38:57 +010017 - ./../certservice/generated-certs/apache-pem:/etc/apache2/certs:ro
Krzysztof Gajewskic7468822021-02-01 17:46:51 +010018 - ./files/onap/http:/usr/local/apache2/htdocs
Krzysztof Gajewskib1b6fa12021-02-25 11:38:57 +010019 command: bash -c "
20 echo 'Http Server start';
21 touch /usr/local/apache2/htdocs/index.html;
22 /usr/sbin/apache2ctl -D FOREGROUND;
23 "
Krzysztof Gajewskib837e332020-12-29 13:58:35 +010024 restart: on-failure