aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose')
-rw-r--r--docker-compose/docker-compose.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 7d6379ac2f..dd7749ac58 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -110,13 +110,12 @@ services:
restart: unless-stopped
init-db:
- build: ../../../docker-compose/initfile
+ build: ${CPS_HOME:-.}/docker-compose/initfile
environment:
CPS_CORE_PORT: ${CPS_CORE_PORT:-8883}
CPS_CORE_MANAGEMENT_PORT: ${CPS_CORE_MANAGEMENT_PORT:-8887}
volumes:
- - ./initfile:/initfile
- - ../../../cps-ncmp-service/src/main/resources/model/:/model
+ - ${CPS_HOME:-.}/cps-ncmp-service/src/main/resources/model/:/model
depends_on:
cps-and-ncmp:
condition: service_started