Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
location-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
01431179
authored
Apr 20, 2016
by
Gil Sade
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added cfg + changed docker file
parent
f1ef318a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
Dockerfile
cfg/config.properties
Dockerfile
View file @
01431179
FROM
drissamri/java:jre8
FROM
172.16.1.132:5000/ipgallery/base-microservice-java
RUN
mkdir
-p
/opt/mcx/config/LocationService
RUN
mkdir
-p
/logs/conf
#
RUN mkdir -p /logs/conf
COPY
build/libs/LocationService-*.jar /usr/
COPY
cfg/config.properties /opt/mcx/config/
LocationService/
COPY
cfg/log4j.xml /logs/conf/
COPY
script/run.sh /usr/
COPY
cfg/config.properties /opt/mcx/config/
#
COPY cfg/log4j.xml /logs/conf/
#
COPY script/run.sh /usr/
RUN
chmod +x /usr/run.sh
RUN
mv /usr/LocationService-
*
.jar /usr/LocationService.jar
...
...
@@ -14,4 +14,4 @@ WORKDIR /usr
EXPOSE
9090
ENTRYPOINT
["/usr/run.sh"]
\ No newline at end of file
ENTRYPOINT
["/usr/run.sh","/usr/LocationService.jar"]
\ No newline at end of file
cfg/config.properties
0 → 100644
View file @
01431179
#ds.IpAddress=172.16.1.97:8080
log4j.prop.file.path
=
/logs/conf/log4j.xml
#mcz.files.location=/opt/mcx/config
### microservice/rest server
server.port
=
32015
server.host
=
0.0.0.0
server.worker.threads
=
6
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment