diff options
author | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2021-04-13 11:21:40 +0200 |
---|---|---|
committer | Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> | 2021-04-13 12:56:08 +0000 |
commit | 6b9990df40f2fac4184ae40fe4d0b441241da712 (patch) | |
tree | a316a8d1823951c5216f3dd9bf2bd32c772d4414 /sanitycheck/https-server/docker-compose.yml | |
parent | 5e002f8d0219cc4f306d2f26708098fb84dc1218 (diff) |
Update sanitycheck
Add new tests and update dmaap-simulator
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Issue-ID: INT-1869
Change-Id: Ibaba12467983d20e95015ed09964367a2baf81b0
Diffstat (limited to 'sanitycheck/https-server/docker-compose.yml')
-rw-r--r-- | sanitycheck/https-server/docker-compose.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sanitycheck/https-server/docker-compose.yml b/sanitycheck/https-server/docker-compose.yml new file mode 100644 index 0000000..fabce9a --- /dev/null +++ b/sanitycheck/https-server/docker-compose.yml @@ -0,0 +1,33 @@ +version: "2.1" + +services: + + http-server: + image: onap/org.onap.integration.nfsimulator.pmhttpsserver + ports: + - "32080:80" + - "38080:8080" + - "32443:443" + - "32000:32000" + - "32100:32100" + networks: + - nf-simulator-network + volumes: + - ./volumes/httpservervolumes/:/usr/local/apache2/htdocs + - ./volumes/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 + +# +# external network +networks: + nf-simulator-network: + external: + name: nf-simulator-network |