diff --git a/docker-compose.yml b/docker-compose.yml index c5c1c309..d0268eef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: - tng-vnv-planner-postgres: + son-postgres: image: ntboes/postgres-uuid container_name: son-postgres environment: @@ -18,9 +18,8 @@ services: image: registry.sonata-nfv.eu:5000/tng-vnv-planner container_name: tng-vnv-planner depends_on: - - tng-vnv-planner-postgres + - son-postgres ports: - 6100:6100 volumes: - tng-vnv-planner-data: - + tng-vnv-planner-data: \ No newline at end of file diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 71ee3389..dc0e1129 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -32,6 +32,6 @@ # encoding: utf-8 FROM openjdk:8-jdk-alpine -ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=test", "/app.jar"] +ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=docker", "/app.jar"] EXPOSE 6100 ADD /libs/${name}-${version}.jar /app.jar \ No newline at end of file