change default config to store h2 database in the same directory as the jar

This commit is contained in:
Athou
2023-06-04 07:45:01 +02:00
parent ea6c83ca33
commit e5b0eb426c
3 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ EXPOSE 8082
RUN mkdir -p /commafeed/data
VOLUME /commafeed/data
ENV CF_SESSION_PATH=/commafeed/data/sessions
ENV CF_DATABASE_URL=jdbc:h2:/commafeed/data/db
COPY commafeed-server/config.yml.example config.yml
COPY commafeed-server/target/commafeed.jar .