mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
finalized docker
This commit is contained in:
parent
fe7cc235b6
commit
0e2cec00a4
3 changed files with 25 additions and 7 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -15,4 +15,5 @@ build/*
|
|||
_site/
|
||||
*.css
|
||||
!petclinic.css
|
||||
.key
|
||||
.key
|
||||
.env
|
|
@ -4,14 +4,14 @@ services:
|
|||
spring-petclinic:
|
||||
build: ./
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8020:8080"
|
||||
environment:
|
||||
- DB="--spring.profiles.active=postgres"
|
||||
- DB=--spring.profiles.active=postgres
|
||||
env_file:
|
||||
- .env
|
||||
postgres:
|
||||
image: postgres:15.2
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=petclinic
|
||||
- POSTGRES_USER=petclinic
|
||||
- POSTGRES_DB=petclinic
|
||||
env_file:
|
||||
- .env
|
||||
|
|
17
pom.xml
17
pom.xml
|
@ -130,6 +130,23 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>3.2.1</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>checkstyle</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
Loading…
Reference in a new issue