mirror of
https://github.com/gotson/komga.git
synced 2025-12-21 16:03:03 +01:00
refactor: remove docker profile
move configuration directly to Dockerfile
This commit is contained in:
parent
a88f577b53
commit
1ba9d2ee73
2 changed files with 3 additions and 5 deletions
|
|
@ -4,5 +4,7 @@ ARG DEPENDENCY=target/dependency
|
|||
COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib
|
||||
COPY ${DEPENDENCY}/META-INF /app/META-INF
|
||||
COPY ${DEPENDENCY}/BOOT-INF/classes /app
|
||||
ENV SPRING_PROFILES_ACTIVE=docker
|
||||
ENV SPRING_DATASOURCE_URL="jdbc:h2:/config/database.h2"
|
||||
ENV LOGGING_FILE_NAME="/config/logs/komga.log"
|
||||
ENTRYPOINT ["java","-cp","app:app/lib/*","org.gotson.komga.ApplicationKt"]
|
||||
EXPOSE 8080
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
spring:
|
||||
datasource:
|
||||
url: jdbc:h2:/config/database.h2
|
||||
logging.file.name: /config/logs/komga.log
|
||||
Loading…
Reference in a new issue