From 9981d8763d7e33009458be6f337956cc76bf6ed7 Mon Sep 17 00:00:00 2001 From: Athou Date: Thu, 24 Aug 2023 07:51:10 +0200 Subject: [PATCH] don't set default values for env variables (#1141) --- Dockerfile | 1 - commafeed-server/config.yml.example | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5ceb5624..a1b1358e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,6 @@ EXPOSE 8082 RUN mkdir -p /commafeed/data VOLUME /commafeed/data -ENV CF_DATABASE_URL=jdbc:h2:/commafeed/data/db COPY commafeed-server/config.yml.example config.yml COPY commafeed-server/target/commafeed.jar . diff --git a/commafeed-server/config.yml.example b/commafeed-server/config.yml.example index e07e4a9cf..652378128 100644 --- a/commafeed-server/config.yml.example +++ b/commafeed-server/config.yml.example @@ -103,7 +103,7 @@ app: database: driverClass: org.h2.Driver - url: jdbc:h2:./db/commafeed + url: jdbc:h2:/commafeed/data/db user: sa password: sa properties: