diff --git a/.gitignore b/.gitignore
index 9cc9e5bbf..773cf52e6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,4 +15,5 @@ build/*
_site/
*.css
!petclinic.css
-.key
\ No newline at end of file
+.key
+.env
\ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
index e252791f6..054e64708 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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
diff --git a/pom.xml b/pom.xml
index 7870ceda7..2499e0e6d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -130,6 +130,23 @@
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.2.1
+
+
+
+ checkstyle
+
+
+
+
+
+
+