diff options
Diffstat (limited to 'docker-compose')
-rw-r--r-- | docker-compose/create-compose.py | 8 | ||||
-rw-r--r-- | docker-compose/docker-compose.yaml | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/docker-compose/create-compose.py b/docker-compose/create-compose.py index 7f971f1..da71f69 100644 --- a/docker-compose/create-compose.py +++ b/docker-compose/create-compose.py @@ -29,7 +29,7 @@ services: storperf-swaggerui: container_name: "storperf-swaggerui" - image: "schickling/swagger-ui" + image: "opnfv/storperf-swaggerui:{swaggerui_tag}" storperf-httpfrontend: container_name: "storperf-httpfrontend" @@ -51,6 +51,9 @@ assert isinstance(reporting_tag, str) frontend_tag = input("Enter image TAG for frontend: ") or 'latest' assert isinstance(frontend_tag, str) +swaggerui_tag = input("Enter image TAG for swaggerui: ") or 'latest' +assert isinstance(swaggerui_tag, str) + env_file = input("Enter path to environment file: ") assert isinstance(env_file, str) if env_file == '': @@ -65,6 +68,7 @@ if carbon_dir == '': f = open('docker-compose.yaml', 'w') f.write(content.format(storperf_tag=storeperf_tag, reporting_tag=reporting_tag, - frontend_tag=frontend_tag, CARBON_DIR=carbon_dir, ENV_FILE=env_file)) + frontend_tag=frontend_tag, swaggerui_tag=swaggerui_tag, + CARBON_DIR=carbon_dir, ENV_FILE=env_file)) f.close() diff --git a/docker-compose/docker-compose.yaml b/docker-compose/docker-compose.yaml index bb09eef..e9459c4 100644 --- a/docker-compose/docker-compose.yaml +++ b/docker-compose/docker-compose.yaml @@ -26,7 +26,7 @@ services: storperf-swaggerui: container_name: "storperf-swaggerui" - image: "schickling/swagger-ui" + image: "opnfv/storperf-swaggerui:${TAG}" storperf-httpfrontend: container_name: "storperf-httpfrontend" |