Commit f2efc933 by Eli Ben Baruch

update

parent 796deeff
FROM 172.16.1.132:5000/ipgallery/base-microservice-java
COPY build/libs/LocationService-*.jar /usr/
COPY build/libs/mde-*.jar /usr/
COPY cfg/config.properties /opt/mcx/config/
RUN chmod +x /usr/run.sh
RUN mv /usr/LocationService-*.jar /usr/LocationService.jar
RUN mv /usr/mde-*.jar /usr/mde.jar
WORKDIR /usr
#EXPOSE 32015
ENTRYPOINT ["/usr/run.sh","/usr/LocationService.jar"]
\ No newline at end of file
ENTRYPOINT ["/usr/run.sh","/usr/mde.jar"]
\ No newline at end of file
......@@ -32,7 +32,7 @@ task buildDockerImage(type:Exec) {
dependsOn jar
mustRunAfter jar
println 'building docker image'
def commandWirhArgs = [ "docker" ,"build","-t", "172.16.1.132:5000/ipgallery/location-service", "."]
def commandWirhArgs = [ "docker" ,"build","-t", "172.16.1.132:5000/ipgallery/mde", "."]
commandLine commandWirhArgs
}
......@@ -73,7 +73,7 @@ publishing {
}
}
mavenJava(MavenPublication) {
artifactId 'location-service'
artifactId 'mde'
from components.java
}
}
......
location-service:
mde:
environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.97:8080#\
-Dredis.host=172.16.1.244"
USE_DEBUG: yes
image: 172.16.1.132:5000/ipgallery/location-service
image: 172.16.1.132:5000/ipgallery/mde
ports:
- "8000:8000"
- "32015:32015"
\ No newline at end of file
- "50040:50040"
\ No newline at end of file
#!/bin/sh
docker run -e IPG_ENV_PARAMS=-Dds.IpAddress=172.16.1.97:8080#-Dredis.host=172.16.1.244 -e USE_DEBUG=yes -p 8000:8000 -p 32015:32015 172.16.1.132:5000/ipgallery/location-service
docker run -e IPG_ENV_PARAMS=-Dds.IpAddress=172.16.1.97:8080#-Dredis.host=172.16.1.244 -e USE_DEBUG=yes -p 8000:8000 -p 50040:50040 172.16.1.132:5000/ipgallery/mde
rootProject.name = 'Mde'
rootProject.name = 'mde'
......@@ -41,6 +41,8 @@ public class MdeHandler extends BaseHandler {
@Override
public void doRead(RequestContext requestContext) {
int i =0;
i++;
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment