Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Projectq2061
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aray
Projectq2061
Commits
a85e0177
Commit
a85e0177
authored
Feb 20, 2023
by
aray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit by Admin
parent
c9a219d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
24 deletions
+27
-24
Dockerfile
Dockerfile
+3
-0
pom.xml
pom.xml
+23
-23
application.yml
src/main/resources/application.yml
+1
-1
No files found.
Dockerfile
0 → 100644
View file @
a85e0177
FROM
openjdk:17-alpine
ADD
/target/demo-0.0.1-SNAPSHOT.jar //
ENTRYPOINT
["java", "-jar", "/demo-0.0.1-SNAPSHOT.jar"]
pom.xml
View file @
a85e0177
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.springframework.boot
</groupId>
...
...
@@ -9,40 +9,35 @@
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<groupId>
com.altimetrik
</groupId>
<artifactId>
java17_springboot-3.0.1-MySql8.0
</artifactId>
<artifactId>
demo
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
java17_springboot-3.0.1-MySql8.0
</name>
<description>
java17_springboot-3.0.1-MySql8.0
</description>
<packaging>
jar
</packaging>
<name>
PlaygroundCandidateDemo
</name>
<description>
PlaygroundCandidateDemo
</description>
<properties>
<java.version>
17
</java.version>
</properties>
<dependencies>
<dependencies>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
8.0.11
</version>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
<artifactId>
spring-boot-starter
-web
</artifactId>
</dependency>
<dependency>
<groupId>
com.mysql
</groupId>
<artifactId>
mysql-connector-j
</artifactId>
<scope>
runtime
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
@@ -50,13 +45,12 @@
<artifactId>
lombok
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
...
...
@@ -71,6 +65,12 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
...
...
src/main/resources/application.yml
View file @
a85e0177
# Spring properties
spring
:
application
:
name
:
article
# Service registers under this name
name
:
PlaygroundCandidateDemo
# Service registers under this name
freemarker
:
enabled
:
false
# Ignore Eureka dashboard FreeMarker templates
...
...
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