summaryrefslogtreecommitdiffstats
path: root/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml
diff options
context:
space:
mode:
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2021-07-20 13:53:16 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-20 13:53:16 +0000
commit0bb4a58d0710eb065e9df2ba1c739990d8932a38 (patch)
treeac25d3e6c9294fc01688efc209af113c98955b11 /csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml
parent3f0cf04efd86ee181e2358488390b408a2e1b4d3 (diff)
parentcb75097bcd353161aa91fdbf420ec92d01e31ec1 (diff)
Merge "[SNDC-CSIT] Provide test deployment for SDNC/R"
Former-commit-id: c3ff30e996b138db0cf25789ca734fc189c395b5
Diffstat (limited to 'csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml')
-rw-r--r--csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml52
1 files changed, 52 insertions, 0 deletions
diff --git a/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml
new file mode 100644
index 00000000..c8d1728a
--- /dev/null
+++ b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml
@@ -0,0 +1,52 @@
+version: "2.2"
+services:
+ sdnr:
+ environment:
+ - SDNRDM="true"
+ topology-api:
+ image: ${TOPOLOGY_DOCKER_REPO}/${TOPOLOGY_DOCKER_IMAGE_NAME}:${TOPOLOGY_DOCKER_IMAGE_TAG}
+ container_name: topology-api
+ ports:
+ - "3001:3001"
+ environment:
+ - AUTH_ENABLED=${AUTH_ENABLED}
+ - AUTH_HOST_URL=${IDENTITY_PROVIDER_URL}
+ # - AUTH_CONFIG_FILE
+ - PROVIDERS=${TOPOLOGY_PROVIDERS}
+ - LOAD_PACKAGES=${LOAD_PACKAGES}
+ depends_on:
+ - sdnr
+ networks:
+ integration:
+ ipv4_address: ${TOPOLOGY_IP}
+ sdnr-web:
+ image: ${NEXUS_DOCKER_REPO}/${NEXUS_DOCKER_WEB_IMAGE_NAME}:${NEXUS_DOCKER_IMAGE_TAG}
+ container_name: sdnr-web
+ ports:
+ - "${SDNC_WEB_PORT}:${SDNC_WEB_PORT}"
+ environment:
+ - WEBPROTOCOL=HTTP
+ - WEBPORT=${SDNC_WEB_PORT}
+ - SDNRPROTOCOL=HTTP
+ - SDNRHOST=sdnr
+ - SDNRPORT=${SDNRPORT}
+ - TOPOURL=${TOPOURL}
+ - TILEURL=${TILEURL}
+ depends_on:
+ - topology-api
+ - sdnr
+ command: ["/wait-for-sdnc.sh", "sdnr:${SDNRPORT}/ready", "/opt/bitnami/nginx/sbin/run.sh"]
+ volumes:
+ - ./wait-for-sdnc.sh:/wait-for-sdnc.sh
+ networks:
+ integration:
+ ipv4_address: ${SDNR_WEB_IP}
+networks:
+ integration:
+ name: ${NETWORK_NAME}
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: ${NETWORK_SUBNET}
+ gateway: ${GATEWAY_IP}