Add Docker build and deploy pipeline
All checks were successful
deploy-backend / deploy (push) Successful in 8m24s
All checks were successful
deploy-backend / deploy (push) Successful in 8m24s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
ffmpeg:
|
||||
binary-path: C:\ffmpeg\ffmpeg-9.0.2-essentials_build\bin\ffmpeg.exe
|
||||
binary-path: ${FFMPEG_PATH:C:\ffmpeg\ffmpeg-9.0.2-essentials_build\bin\ffmpeg.exe}
|
||||
|
||||
spring:
|
||||
servlet:
|
||||
@@ -8,9 +8,9 @@ spring:
|
||||
max-request-size: 20MB
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/nahodka
|
||||
username: user
|
||||
password: pass
|
||||
url: ${DB_URL:jdbc:postgresql://localhost:5432/nahodka}
|
||||
username: ${DB_USER:user}
|
||||
password: ${DB_PASSWORD:pass}
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
jpa:
|
||||
@@ -19,7 +19,7 @@ spring:
|
||||
# из-за чего базы расходились. Для разработки можно переопределить
|
||||
# переменной окружения JPA_DDL_AUTO=update.
|
||||
ddl-auto: ${JPA_DDL_AUTO:validate}
|
||||
show-sql: true
|
||||
show-sql: ${JPA_SHOW_SQL:true}
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
@@ -55,10 +55,10 @@ ai:
|
||||
multiplier: 2
|
||||
|
||||
jwt:
|
||||
secret: ${JWT_SECRET:mySuperSecretKeyForJwtTokenGenerationThatIsLongEnough2024!ReFound}
|
||||
secret: ${JWT_SECRET}
|
||||
access-expiration: ${JWT_ACCESS_EXPIRATION:900000} # 15 минут
|
||||
refresh-expiration: ${JWT_REFRESH_EXPIRATION:604800000} # 7 дней
|
||||
|
||||
app:
|
||||
cors:
|
||||
allowed-origins: http://localhost:5173,http://localhost:3000,http://192.168.1.76:3000
|
||||
allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost:5173,http://localhost:3000,http://192.168.1.76:3000}
|
||||
Reference in New Issue
Block a user