diff options
author | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-28 10:43:33 +0200 |
---|---|---|
committer | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-28 10:58:54 +0200 |
commit | 83c44e0acaed30f2388a69fd13ec806c38edfd73 (patch) | |
tree | 12408f8aa5814ea57e6381f2e99931b799f22a25 /docker/docker-compose.yml | |
parent | 2735ea8a2aef55ebb0a48b50d9a0e36cf3f63b94 (diff) |
Improve Docker deployment
JIRA: DOVETAIL-755
This patch improves Docker deployment. It removes the extra unwanted
container. In addition, it removes unused files. Finally, it fixes the
issue of python install where the static files of swagger where not
installed inside the api container.
Change-Id: Id74c88ab77182ed233f0eedad39ff8da245bb3dd
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to 'docker/docker-compose.yml')
-rw-r--r-- | docker/docker-compose.yml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 12278c2..4edf4cc 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,17 +1,6 @@ --- version: '3' services: - testapi: - image: opnfv/testapi:cvp.0.5.0 - container_name: cvp-testapi - env_file: - - config.env - volumes: - - cvp-testapi-logs:/home/testapi/logs - links: - - mongodb - ports: - - "8010:8010" mongodb: image: mongo:3.2.1 container_name: cvp-db @@ -30,7 +19,6 @@ services: - cvp-testapi-logs:/home/testapi/logs links: - mongodb - - testapi - cvpapi ports: - "8000:8000" @@ -43,7 +31,7 @@ services: - cvp-testapi-logs:/home/testapi/logs - cvp-company-logos:/home/testapi/media/companies ports: - - "8011:8011" + - "8010:8010" nginx: image: jwilder/nginx-proxy container_name: cvp-nginx |