mirror of
https://github.com/RoastSlav/quickdrop.git
synced 2026-05-12 07:20:06 -05:00
moved the location of the files in the docker
This commit is contained in:
@@ -31,3 +31,6 @@ build/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
||||
/db/
|
||||
/log/
|
||||
/files/
|
||||
|
||||
Vendored
+1
-1
@@ -49,7 +49,7 @@ pipeline {
|
||||
-p 8083:8080 \
|
||||
-v /var/lib/quickdrop/db:/app/db \
|
||||
-v /var/log/quickdrop:/app/log \
|
||||
-v /srv/quickdrop/files:/files \
|
||||
-v /srv/quickdrop/files:/app/files \
|
||||
${DOCKER_IMAGE}
|
||||
"""
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
spring.profiles.active=default
|
||||
spring.application.name=quickdrop
|
||||
spring.datasource.driver-class-name=org.sqlite.JDBC
|
||||
spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect
|
||||
spring.datasource.url=jdbc:sqlite:/db/quickdrop.db
|
||||
spring.datasource.url=jdbc:sqlite:db/quickdrop.db
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.thymeleaf.prefix=classpath:/templates/
|
||||
@@ -10,9 +11,9 @@ spring.thymeleaf.cache=false
|
||||
spring.servlet.multipart.max-file-size=1024MB
|
||||
spring.servlet.multipart.max-request-size=1024MB
|
||||
server.tomcat.connection-timeout=60000
|
||||
file.save.path=/files
|
||||
file.save.path=files
|
||||
file.max.age=30
|
||||
logging.file.path=/log
|
||||
logging.file.path=log
|
||||
logging.file.name=quickdrop.log
|
||||
file.deletion.cron=0 0 2 * * *
|
||||
#logging.level.org.springframework=DEBUG
|
||||
|
||||
@@ -2,8 +2,10 @@ package org.rostislav.quickdrop;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
|
||||
@SpringBootTest
|
||||
@ActiveProfiles("test")
|
||||
class QuickdropApplicationTests {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
logging.file.path=
|
||||
spring.datasource.url=jdbc:sqlite:quickdrop.db
|
||||
Reference in New Issue
Block a user