Skip to content

Commit fb3c929

Browse files
disabled docker
1 parent db5280c commit fb3c929

24 files changed

+69
-56
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
<dependency>
5151
<groupId>org.projectlombok</groupId>
5252
<artifactId>lombok</artifactId>
53-
<optional>true</optional>
53+
<version>1.18.32</version>
54+
<scope>provided</scope>
5455
</dependency>
5556
<dependency>
5657
<groupId>org.springframework.boot</groupId>

src/main/java/com/pecacm/backend/entities/User.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public Collection<? extends GrantedAuthority> getAuthorities() {
6060
return List.of(new SimpleGrantedAuthority("ROLE_" + designation.toString()));
6161
}
6262

63+
6364
@Override
6465
@JsonIgnore
6566
public String getUsername() {

src/main/resources/application-local.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
server:
22
port: 8080
33
spring:
4+
docker:
5+
compose:
6+
enabled: false
47
datasource:
58
url: jdbc:postgresql://localhost:5432/acm
6-
username: acmsecy
7-
password: acmheads
9+
username: postgres
10+
password: 12345678
811
driver-class-name: org.postgresql.Driver
912
jpa:
1013
hibernate:
11-
ddl-auto: update
14+
ddl-auto: create
1215
properties:
1316
hibernate:
1417
format_sql: true

src/main/resources/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ server:
1515
request-attributes-enabled: true
1616

1717
spring:
18+
docker:
19+
compose:
20+
enabled: false
1821
datasource:
1922
url: ${POSTGRESQL_DB_URL}
2023
username: ${POSTGRESQL_DB_USER}

target/backend-1.0.1.jar

316 Bytes
Binary file not shown.

target/backend-1.0.1.jar.original

317 Bytes
Binary file not shown.

target/classes/application-local.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
server:
22
port: 8080
33
spring:
4+
docker:
5+
compose:
6+
enabled: false
47
datasource:
58
url: jdbc:postgresql://localhost:5432/acm
6-
username: acmsecy
7-
password: acmheads
9+
username: postgres
10+
password: 12345678
811
driver-class-name: org.postgresql.Driver
912
jpa:
1013
hibernate:
11-
ddl-auto: update
14+
ddl-auto: create
1215
properties:
1316
hibernate:
1417
format_sql: true
@@ -18,8 +21,8 @@ spring:
1821
mail:
1922
host: smtp.gmail.com
2023
port: 587
21-
username: your_email
22-
password: your_app_password
24+
25+
password: pzsdhgeqmjtnbdpp
2326
properties:
2427
mail:
2528
smtp:

target/classes/application.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ server:
1515
request-attributes-enabled: true
1616

1717
spring:
18+
profiles:
19+
active: "local"
1820
datasource:
1921
url: ${POSTGRESQL_DB_URL}
2022
username: ${POSTGRESQL_DB_USER}
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)