forked from Archives/Athou_commafeed
set the default h2 path to a relative one next to the executable
This commit is contained in:
@@ -5,8 +5,8 @@ EXPOSE 8082
|
||||
RUN mkdir -p /commafeed/data
|
||||
VOLUME /commafeed/data
|
||||
|
||||
COPY commafeed-server/target/quarkus-app/ /commafeed/app
|
||||
WORKDIR /commafeed/app
|
||||
COPY commafeed-server/target/quarkus-app/ /commafeed
|
||||
WORKDIR /commafeed
|
||||
|
||||
CMD ["java", \
|
||||
"-Xtune:virtualized", \
|
||||
|
||||
@@ -4,6 +4,6 @@ EXPOSE 8082
|
||||
RUN mkdir -p /commafeed/data
|
||||
VOLUME /commafeed/data
|
||||
|
||||
COPY commafeed-server/target/commafeed-*-runner /commafeed/app/application
|
||||
WORKDIR /commafeed/app
|
||||
COPY commafeed-server/target/commafeed-*-runner /commafeed/application
|
||||
WORKDIR /commafeed
|
||||
CMD ["./application"]
|
||||
|
||||
@@ -39,7 +39,7 @@ quarkus.shutdown.timeout=5s
|
||||
|
||||
|
||||
# prod profile overrides
|
||||
%prod.quarkus.datasource.jdbc.url=jdbc:h2:/commafeed/data/db;DEFRAG_ALWAYS=TRUE
|
||||
%prod.quarkus.datasource.jdbc.url=jdbc:h2:./data/db;DEFRAG_ALWAYS=TRUE
|
||||
%prod.quarkus.datasource.username=sa
|
||||
%prod.quarkus.datasource.password=sa
|
||||
%prod.quarkus.log.category."com.rometools.modules".level=ERROR
|
||||
|
||||
Reference in New Issue
Block a user