-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9666926
commit b3e5c27
Showing
4 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Docker部署Javaweb(war) | ||
# Dockerfile for lifecat-ssm | ||
# 1. Copy lifecat.war to current directory | ||
# 2. Build with: docker build -t lifecat-ssm . | ||
# 3. Run with: docker run -d -p 8092:8080 lifecat-ssm | ||
|
||
FROM tomcat:8.0 | ||
|
||
MAINTAINER kevinten <[email protected]> | ||
|
||
ADD ssm.war /usr/local/tomcat/webapps/ | ||
|
||
EXPOSE 8080 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
jdbc.driver=com.mysql.jdbc.Driver | ||
jdbc.url=jdbc:mysql://www.lifecat.club:3306/ssm?characterEncoding=utf-8&useSSL=false | ||
jdbc.url=jdbc:mysql://localhost:3306/ssm?characterEncoding=utf-8&useSSL=false | ||
jdbc.username=root | ||
jdbc.password=wangshihao | ||
jdbc.password=123456 |