Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
ZM-Security
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZEEME
ZM-Security
Commits
70593b49
Commit
70593b49
authored
Sep 19, 2019
by
TongZuu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create docker build and readme
parent
287a88d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
Dockerfile
cpn-zeesecurity-webapp/Dockerfile
+6
-0
Readme.md
cpn-zeesecurity-webapp/Readme.md
+35
-0
No files found.
cpn-zeesecurity-webapp/Dockerfile
0 → 100644
View file @
70593b49
FROM
jboss/wildfly:10.1.0.Final
ADD
target/cpn-zeesecurity-webapp-0.0.1-SNAPSHOT.war /opt/jboss/wildfly/standalone/deployments/
# CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0" , "-Dcom.datastax.driver.FORCE_NIO=true"]
CMD
["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]
cpn-zeesecurity-webapp/Readme.md
0 → 100644
View file @
70593b49
## docker build
```
docker image build -t zeesecurity-image .
```
build with tag
```
docker image build -t registry.myhr.co.th/zeesecurity:0.0.2 .
```
## docker tag version
```
docker image tag zeesecurity-image registry.myhr.co.th/zeesecurity
```
or
```
docker image tag zeesecurity-image 10.1.1.174:5000/zeesecurity
```
## push image to registry
```
docker push registry.myhr.co.th/zeesecurity
```
or
```
docker push 10.1.1.174:5000/zeesecurity
```
## run on docker
```
docker run -p 8180:8080 --name zeemeapi registry.myhr.co.th/zeesecurity
```
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