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
|
RUN mkdir -p /commafeed/data
|
||||||
VOLUME /commafeed/data
|
VOLUME /commafeed/data
|
||||||
|
|
||||||
COPY commafeed-server/target/quarkus-app/ /commafeed/app
|
COPY commafeed-server/target/quarkus-app/ /commafeed
|
||||||
WORKDIR /commafeed/app
|
WORKDIR /commafeed
|
||||||
|
|
||||||
CMD ["java", \
|
CMD ["java", \
|
||||||
"-Xtune:virtualized", \
|
"-Xtune:virtualized", \
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ EXPOSE 8082
|
|||||||
RUN mkdir -p /commafeed/data
|
RUN mkdir -p /commafeed/data
|
||||||
VOLUME /commafeed/data
|
VOLUME /commafeed/data
|
||||||
|
|
||||||
COPY commafeed-server/target/commafeed-*-runner /commafeed/app/application
|
COPY commafeed-server/target/commafeed-*-runner /commafeed/application
|
||||||
WORKDIR /commafeed/app
|
WORKDIR /commafeed
|
||||||
CMD ["./application"]
|
CMD ["./application"]
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ quarkus.shutdown.timeout=5s
|
|||||||
|
|
||||||
|
|
||||||
# prod profile overrides
|
# 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.username=sa
|
||||||
%prod.quarkus.datasource.password=sa
|
%prod.quarkus.datasource.password=sa
|
||||||
%prod.quarkus.log.category."com.rometools.modules".level=ERROR
|
%prod.quarkus.log.category."com.rometools.modules".level=ERROR
|
||||||
|
|||||||
Reference in New Issue
Block a user