Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
791e547b
Commit
791e547b
authored
Jan 26, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
escape chars in url
parent
3f41ed96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
Dockerfile
drip-manager/Dockerfile
+7
-9
simple_start_dockers.sh
simple_start_dockers.sh
+1
-1
No files found.
drip-manager/Dockerfile
View file @
791e547b
FROM
openjdk:11
FROM
openjdk:11
COPY
target/drip-manager-3.0.0.jar drip-manager-3.0.0.jar
COPY
target/drip-manager-3.0.0.jar drip-manager-3.0.0.jar
CMD
tail -f /dev/null
CMD
jar -xf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_HOST/" BOOT-INF/classes/application.properties && \
# CMD jar -xf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
sed -ie "s/^db.host=.*/db.host=$MONO_GHOST/" BOOT-INF/classes/application.properties && \
# sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_HOST/" BOOT-INF/classes/application.properties && \
sed -ie "s/^sure_tosca.base.path=.*/sure_tosca.base.path=$SURE_TOSCA_BASE_PATH/" BOOT-INF/classes/application.properties && \
# sed -ie "s/^db.host=.*/db.host=$MONOG_HOST/" BOOT-INF/classes/application.properties && \
cat BOOT-INF/classes/application.properties && \
# sed -ie "s/^sure_tosca.base.path=.*/sure_tosca.base.path=$SURE_TOSCA_BASE_PATH/" BOOT-INF/classes/application.properties && \
jar -uf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
# cat BOOT-INF/classes/application.properties && \
java -jar drip-manager-3.0.0.jar
# jar -uf drip-manager-3.0.0.jar BOOT-INF/classes/application.properties && \
# java -jar drip-manager-3.0.0.jar
simple_start_dockers.sh
View file @
791e547b
...
@@ -8,4 +8,4 @@ docker start some-rabbit
...
@@ -8,4 +8,4 @@ docker start some-rabbit
sleep
1
sleep
1
docker run
-d
alogo53/sure-tosca:3.0.0
docker run
-d
alogo53/sure-tosca:3.0.0
sleep
5
sleep
5
docker run
-it
-e
MONOG_HOST
=
172.17.0.2
-e
RABBITMQ_HOST
=
172.17.0.3
-e
SURE_TOSCA_BASE_PATH
=
172.17.0.4/8081/tosca-sure/1.0.0
-p
8080:8080 alogo53/drip-manager:3.0.0
docker run
-it
-e
MONOG_HOST
=
172.17.0.2
-e
RABBITMQ_HOST
=
172.17.0.3
-e
SURE_TOSCA_BASE_PATH
=
http
\:\/\/
172.17.0.4
\/
8081
\/
tosca-sure
\/
1.0.0/
-p
8080:8080 alogo53/drip-manager:3.0.0
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