aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/README.md
blob: ca395df07a92ab9626b647a3aecdf8a7596f4b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 -d
```