diff options
Diffstat (limited to 'docker-compose/docker-compose.yml')
-rw-r--r-- | docker-compose/docker-compose.yml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 391d91109..beae091f1 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -4,8 +4,10 @@ services: cps: container_name: cps-service image: nexus3.onap.org:10001/onap/cps-service:${VERSION} + volumes: + - "./application.yml:/app/application.yml" ports: - - "8080:8080" + - "8881:8080" environment: DB_HOST: ${DB_HOST} DB_USERNAME: ${DB_USERNAME} @@ -17,8 +19,25 @@ services: cps-nf-proxy: container_name: cps-nf-proxy image: nexus3.onap.org:10001/onap/cps-nf-proxy:${VERSION} + volumes: + - "./application.yml:/app/application.yml" ports: - - "8081:8080" + - "8882:8080" + environment: + DB_HOST: ${DB_HOST} + DB_USERNAME: ${DB_USERNAME} + DB_PASSWORD: ${DB_PASSWORD} + restart: unless-stopped + depends_on: + - dbpostgresql + + cps-and-nf-proxy: + container_name: cps-and-nf-proxy + image: nexus3.onap.org:10001/onap/cps-and-nf-proxy:${VERSION} + volumes: + - "./application.yml:/app/application.yml" + ports: + - "8883:8080" environment: DB_HOST: ${DB_HOST} DB_USERNAME: ${DB_USERNAME} |