Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
project2054
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
project2054
Commits
147dc778
Commit
147dc778
authored
Feb 21, 2023
by
aray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit by Admin
parent
ef48d2d8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
18 deletions
+16
-18
Dockerfile
Dockerfile
+1
-1
pom.xml
pom.xml
+8
-4
application.yml
src/main/resources/application.yml
+5
-4
db-config-k8s.properties
src/main/resources/db-config-k8s.properties
+2
-9
No files found.
Dockerfile
View file @
147dc778
FROM
openjdk:
8-jre
-alpine
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 @
147dc778
...
...
@@ -8,11 +8,15 @@
<version>
3.0.1
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<groupId>
java17_Springboot2.7.7_H2
</groupId>
<artifactId>
java17_Springboot2.7.7_H2
</artifactId>
<groupId>
com.altimetrik
</groupId>
<artifactId>
demo
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
java17_Springboot2.7.7_H2
</name>
<description>
java17_Springboot2.7.7_H2
</description>
<packaging>
jar
</packaging>
<name>
PlaygroundCandidateDemo
</name>
<description>
PlaygroundCandidateDemo
</description>
<properties>
<java.version>
17
</java.version>
</properties>
...
...
src/main/resources/application.yml
View file @
147dc778
# Spring properties
spring
:
application
:
name
:
playground-elab-d
emo
# Service registers under this name
name
:
PlaygroundCandidateD
emo
# Service registers under this name
freemarker
:
enabled
:
false
# Ignore Eureka dashboard FreeMarker templates
...
...
@@ -9,8 +9,8 @@ spring:
# HTTP Server
server
:
port
:
8090
# HTTP (Tomcat) port
servlet.contextPath
:
/
pgdemo
port
:
1099
# HTTP (Tomcat) port
servlet.contextPath
:
/
undertow
:
accesslog
:
enabled
:
true
...
...
@@ -24,5 +24,5 @@ logging:
org.springframework.security
:
INFO
org.hibernate.SQL
:
WARN
article
:
PlaygroundCandidateDemo
:
fileName
:
validator.json
\ No newline at end of file
src/main/resources/db-config-k8s.properties
View file @
147dc778
# Please use the the url 'https://{pgtest/pgsandbox/citi-pg-project}.altimetrik.com/project1392/project1392/'
# to connect to the database wih the properties mentioned below.
spring.datasource.driverClassName
=
org.h2.Driver
spring.datasource.username
=
playground
spring.datasource.password
=
password
spring.jpa.database-platform
=
org.hibernate.dialect.H2Dialect
# temporary data storage
spring.datasource.url
=
jdbc:h2:file:./src/main/resources/project1392
\ No newline at end of file
#
to
connect
to
the
database
wih
the
properties
mentioned
below.
\ No newline at end of file
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