Commit f2efc933 by Eli Ben Baruch

update

parent 796deeff
FROM 172.16.1.132:5000/ipgallery/base-microservice-java 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/ COPY cfg/config.properties /opt/mcx/config/
RUN chmod +x /usr/run.sh RUN chmod +x /usr/run.sh
RUN mv /usr/LocationService-*.jar /usr/LocationService.jar RUN mv /usr/mde-*.jar /usr/mde.jar
WORKDIR /usr WORKDIR /usr
#EXPOSE 32015 #EXPOSE 32015
ENTRYPOINT ["/usr/run.sh","/usr/LocationService.jar"] ENTRYPOINT ["/usr/run.sh","/usr/mde.jar"]
\ No newline at end of file \ No newline at end of file
...@@ -32,7 +32,7 @@ task buildDockerImage(type:Exec) { ...@@ -32,7 +32,7 @@ task buildDockerImage(type:Exec) {
dependsOn jar dependsOn jar
mustRunAfter jar mustRunAfter jar
println 'building docker image' 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 commandLine commandWirhArgs
} }
...@@ -73,7 +73,7 @@ publishing { ...@@ -73,7 +73,7 @@ publishing {
} }
} }
mavenJava(MavenPublication) { mavenJava(MavenPublication) {
artifactId 'location-service' artifactId 'mde'
from components.java from components.java
} }
} }
......
location-service: mde:
environment: environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.97:8080#\ IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.97:8080#\
-Dredis.host=172.16.1.244" -Dredis.host=172.16.1.244"
USE_DEBUG: yes USE_DEBUG: yes
image: 172.16.1.132:5000/ipgallery/location-service image: 172.16.1.132:5000/ipgallery/mde
ports: ports:
- "8000:8000" - "8000:8000"
- "32015:32015" - "50040:50040"
\ No newline at end of file \ No newline at end of file
#!/bin/sh #!/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 { ...@@ -41,6 +41,8 @@ public class MdeHandler extends BaseHandler {
@Override @Override
public void doRead(RequestContext requestContext) { public void doRead(RequestContext requestContext) {
int i =0;
i++;
} }
@Override @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