diff --git a/Dockerfile b/Dockerfile index b41f8bcf..0c46d671 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,3 @@ ADD iot-starter/target/iot-starter-0.4.5-SNAPSHOT.jar /app/app.jar ADD data/init /app/data/init ADD data/components /app/data/components ADD data/converters /app/data/converters -EXPOSE 8086 -ENTRYPOINT ["java", "-classpath", ".:lib/*","cc.iotkit.Application"] diff --git a/docker-compose/docker-compose-iita.yml b/docker-compose/docker-compose-iita.yml index 9e4dac0f..c03dfe3c 100644 --- a/docker-compose/docker-compose-iita.yml +++ b/docker-compose/docker-compose-iita.yml @@ -14,7 +14,8 @@ services: network_mode: "host" volumes: # - ./admin-service.jar:/admin-service.jar - - /app/data:/app/data/ + - /app/data/components:/app/data/components + - /app/data/converters:/app/data/converters - /app/config:/app/config/ - /app/log:/app/log/ command: