aboutsummaryrefslogtreecommitdiffstats
path: root/httpserver/docker-compose.yml
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-02-24 14:46:37 +0100
committerKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-03-02 15:56:29 +0100
commitb1961a04c191ebbc726de507d98c85966b7a6a71 (patch)
treec15b1ba29407d79740f02734c387695bb01a7026 /httpserver/docker-compose.yml
parent441945e8adf7e3adc524d761e61c179c83e9888d (diff)
Add JWT support in HTTP/HTTPS based locations - pnf-simulator1.0.5
- update containers to version 1.0.5 Issue-ID: DCAEGEN2-2536 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: If6b938db03fc8b5e5a5a6435ad0559061fa5b4ad
Diffstat (limited to 'httpserver/docker-compose.yml')
-rw-r--r--httpserver/docker-compose.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/httpserver/docker-compose.yml b/httpserver/docker-compose.yml
index db1ee4b..0b80465 100644
--- a/httpserver/docker-compose.yml
+++ b/httpserver/docker-compose.yml
@@ -4,17 +4,20 @@ services:
http-server:
image: onap/org.onap.integration.simulators.httpserver
ports:
- - "7080:80"
- - "7443:443"
+ - "32080:80"
+ - "8080:8080"
+ - "32443:443"
+ - "32000:32000"
+ - "32100:32100"
volumes:
- ~/httpservervolumes/:/usr/local/apache2/htdocs
- - ./resources/.htaccess:/usr/local/apache2/htdocs/.htaccess
- ./logs:/var/log/apache2
command: bash -c "
echo 'Http Server start';
while [[ $$(ls -1 /etc/apache2/certs/ | wc -l) != '3' ]]; do echo 'Waiting for certs...'; sleep 3; done;
chmod 777 /usr/local/apache2/htdocs;
cp /usr/local/apache2/conf/upload.php /usr/local/apache2/htdocs/upload.php;
+ touch /usr/local/apache2/htdocs/index.html;
/usr/sbin/apache2ctl -D FOREGROUND;
"
restart: on-failure