@@ -1,2 +0,0 @@
|
||||
server:
|
||||
baseurl: "http://localhost"
|
||||
@@ -1,2 +0,0 @@
|
||||
server:
|
||||
baseurl: "http://92.242.61.23"
|
||||
@@ -0,0 +1,8 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:postgresql://rc1a-7osqmsdaf27d2ieh.mdb.yandexcloud.net:6432/ncp-test?ssl=true&sslmode=require
|
||||
username: ${YC_DB_USER:test}
|
||||
password: ${YC_DB_PASSWORD:testtest}
|
||||
|
||||
flyway:
|
||||
enabled: false
|
||||
@@ -1,7 +1,10 @@
|
||||
spring:
|
||||
# config:
|
||||
# activate:
|
||||
# on-profile: ${SPRING_PROFILES_ACTIVE:dev}
|
||||
config:
|
||||
activate:
|
||||
on-profile: default
|
||||
profiles:
|
||||
# По умолчанию используем local для разработки
|
||||
active: ${SPRING_PROFILES_ACTIVE:local}
|
||||
|
||||
mail:
|
||||
host: smtp.gmail.com
|
||||
@@ -15,24 +18,15 @@ spring:
|
||||
starttls:
|
||||
enable: true
|
||||
|
||||
# mail:
|
||||
# host: postfix
|
||||
# port: 25
|
||||
# username: noreply@nocopy.com
|
||||
# password: nocopy!nocopy!
|
||||
# properties:
|
||||
# mail.smtp.auth: false
|
||||
# mail.smtp.starttls.enable: false
|
||||
# mail.debug: true
|
||||
|
||||
flyway:
|
||||
enabled: true
|
||||
baseline-on-migrate: true
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
||||
username: ${POSTGRES_USER}
|
||||
password: ${POSTGRES_PASSWORD}
|
||||
# Настройки по умолчанию для local разработки
|
||||
url: jdbc:postgresql://${POSTGRES_HOST:localhost}:${POSTGRES_PORT:54320}/${POSTGRES_DB:no_copy_}
|
||||
username: ${POSTGRES_USER:postgres}
|
||||
password: ${POSTGRES_PASSWORD:postgres}
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
jpa:
|
||||
|
||||
Reference in New Issue
Block a user