From b4ea3985681cd9a2a6225873d31744908d6f6b11 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Fri, 10 Jan 2025 11:13:32 +0100 Subject: [PATCH] fix: fixed some database configuration issues with mysql --- 6.0/Containerfile | 2 +- 6.0/entrypoint.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/6.0/Containerfile b/6.0/Containerfile index b9a19e0..93556a1 100644 --- a/6.0/Containerfile +++ b/6.0/Containerfile @@ -43,7 +43,7 @@ RUN echo 'gem "pg", :require => true' >> Gemfile.local RUN echo 'gem "puma", :require => true' >> Gemfile.local RUN echo 'gem "with_advisory_lock", :require => true' >> Gemfile.local RUN gem install --user-install bundler - +RUN gem install --user-install with_advisory_lock # # # redmine plugins diff --git a/6.0/entrypoint.sh b/6.0/entrypoint.sh index 7fda38d..bc68ec8 100644 --- a/6.0/entrypoint.sh +++ b/6.0/entrypoint.sh @@ -63,8 +63,6 @@ elif [ "${DATABASE_ADAPTER}" == "mysql" ]; then echo -e " port: ${MYSQL_PORT}" >> config/database.yml echo -e " username: ${MYSQL_USER}" >> config/database.yml echo -e " password: ${MYSQL_PASSWORD}" >> config/database.yml - echo -e " variables:" >> config/database.yml - echo -e ' transaction_isolation: "READ-COMMITTED"' >> config/database.yml elif [ "${DATABASE_ADAPTER}" == "postgres" ]; then