Skip to content

Commit

Permalink
TEMPLATE-2: Заинитил проект
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrvsrg committed Mar 28, 2024
1 parent e037d05 commit c1da854
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<!-- Mail -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>

<!-- Security -->
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
7 changes: 1 addition & 6 deletions sample.env.development
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
ARCHIPIO_TEMPLATE_SERVICE_DB_URL=
ARCHIPIO_TEMPLATE_SERVICE_DB_NAME=
ARCHIPIO_TEMPLATE_SERVICE_DB_TEMPLATE=
ARCHIPIO_TEMPLATE_SERVICE_DB_PASSWORD=

ARCHIPIO_TEMPLATE_SERVICE_MAIL_HOST=
ARCHIPIO_TEMPLATE_SERVICE_MAIL_PORT=
ARCHIPIO_TEMPLATE_SERVICE_MAIL_USERNAME=
ARCHIPIO_TEMPLATE_SERVICE_MAIL_PASSWORD=
ARCHIPIO_TEMPLATE_SERVICE_DB_PASSWORD=
15 changes: 2 additions & 13 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 18081
port: 18083
spring:
application:
name: template-service
Expand All @@ -15,15 +15,4 @@ spring:
jpa:
show-sql: true
hibernate:
ddl-auto: validate
mail:
protocol: smtps
host: ${ARCHIPIO_TEMPLATE_SERVICE_MAIL_HOST}
port: ${ARCHIPIO_TEMPLATE_SERVICE_MAIL_PORT}
username: ${ARCHIPIO_TEMPLATE_SERVICE_MAIL_USERNAME}
password: ${ARCHIPIO_TEMPLATE_SERVICE_MAIL_PASSWORD}
test-connection: true
properties:
mail.smtp.auth: true
mail.smtp.starttls.enable: true
mail.smtp.ssl.enable: true
ddl-auto: validate

0 comments on commit c1da854

Please sign in to comment.