X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker-compose.yml;h=a3bf2564d3a158719eeef38ce57ef317f0782bb1;hb=be800932369a354559471d6a6a6ca2bd6ec11aec;hp=477441a1ac624d33419d195551a48232b68fd5ed;hpb=d14329a57d8d01d443e4158fa5030a5b5ada4060;p=pti%2Fo2.git diff --git a/docker-compose.yml b/docker-compose.yml index 477441a..a3bf256 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,7 @@ services: - postgres - redis environment: + - API_HOST=api - DB_HOST=postgres - DB_PASSWORD=o2ims123 - REDIS_HOST=redis @@ -18,9 +19,6 @@ services: - OS_AUTH_URL=${OS_AUTH_URL} - OS_USERNAME=${OS_USERNAME} - OS_PASSWORD=${OS_PASSWORD} - - K8S_KUBECONFIG=${K8S_KUBECONFIG} - - K8S_APISERVER=${K8S_APISERVER} - - K8S_TOKEN=${K8S_TOKEN} - LOGGING_CONFIG_LEVEL=DEBUG volumes: - ./configs:/configs @@ -34,6 +32,23 @@ services: - /bin/sh - /tests/o2app-redis-entry.sh + # helm_cli: + # image: o2imsdms + # depends_on: + # - watcher + # environment: + # - LOGGING_CONFIG_LEVEL=DEBUG + # - HELM_USER_PASSWD=St8rlingX* + # volumes: + # - ./share:/share + # - ./helm_sdk:/helm_sdk + # - ./tests:/tests + # entrypoint: + # - /bin/sh + # - /tests/o2app-helmcli-entry.sh + # ports: + # - "10022:22" + api: image: o2imsdms depends_on: @@ -41,7 +56,7 @@ services: environment: - DB_HOST=postgres - DB_PASSWORD=o2ims123 - - API_HOST=api + - API_HOST_EXTERNAL_FLOATING=${API_HOST_EXTERNAL_FLOATING} - REDIS_HOST=redis - PYTHONDONTWRITEBYTECODE=1 - FLASK_APP=/o2app/entrypoints/flask_application.py @@ -51,8 +66,10 @@ services: - OS_USERNAME=${OS_USERNAME} - OS_PASSWORD=${OS_PASSWORD} - LOGGING_CONFIG_LEVEL=DEBUG + - HELM_USER_PASSWD=St8rlingX* volumes: - ./configs:/configs + - ./share:/share - ./o2ims:/o2ims - ./o2dms:/o2dms - ./o2common:/o2common @@ -61,7 +78,7 @@ services: - ./tests:/tests entrypoint: - /bin/sh - - /tests/o2app-api-entry.sh + - /tests/o2app-api-entry2.sh ports: - "5005:80" @@ -73,6 +90,7 @@ services: depends_on: - redis_pubsub environment: + - API_HOST_EXTERNAL_FLOATING=${API_HOST_EXTERNAL_FLOATING} - DB_HOST=postgres - DB_PASSWORD=o2ims123 - REDIS_HOST=redis