diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-02-04 11:39:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-02-04 11:39:17 +0000 |
commit | 1540a5809fff8477bfdb6f43fd6c475cf13c6d71 (patch) | |
tree | 29b6cdff26cfc66377cbf9badd6dbcdb4380933b /docker-compose/README.md | |
parent | e7f94478a241f8ee7618da08f6bc8495e9f5a504 (diff) | |
parent | b77bf2529f15e60c852cf83d5150e75d30068bb0 (diff) |
Merge "Decouple configuration from application"
Diffstat (limited to 'docker-compose/README.md')
-rw-r--r-- | docker-compose/README.md | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/docker-compose/README.md b/docker-compose/README.md index 619b0d4a8d..ca395df07a 100644 --- a/docker-compose/README.md +++ b/docker-compose/README.md @@ -1,7 +1,19 @@ -# Docker Compose +# Docker Compose deployment example for local enviroments, CPS deployment is done via OOM To run the application locally using `docker-compose`, execute following command from this `docker-compose` folder: +Generate the containers + +```bash +mvn clean install -Pcps-docker -Pxnf-docker -Pcps-xnf-docker +``` +or for generate an specific type + +```bash +mvn clean install -Pcps-docker +``` +Run the containers + ```bash -VERSION=0.0.1-SNAPSHOT DB_HOST=dbpostgresql DB_USERNAME=cps DB_PASSWORD=cps docker-compose up +VERSION=0.0.1-SNAPSHOT DB_HOST=dbpostgresql DB_USERNAME=cps DB_PASSWORD=cps docker-compose up -d ```
\ No newline at end of file |