fix: fixed some database configuration issues with mysql
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
21359f1c58
commit
b4ea398568
@ -43,7 +43,7 @@ RUN echo 'gem "pg", :require => true' >> Gemfile.local
|
|||||||
RUN echo 'gem "puma", :require => true' >> Gemfile.local
|
RUN echo 'gem "puma", :require => true' >> Gemfile.local
|
||||||
RUN echo 'gem "with_advisory_lock", :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 bundler
|
||||||
|
RUN gem install --user-install with_advisory_lock
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# redmine plugins
|
# redmine plugins
|
||||||
|
@ -63,8 +63,6 @@ elif [ "${DATABASE_ADAPTER}" == "mysql" ]; then
|
|||||||
echo -e " port: ${MYSQL_PORT}" >> config/database.yml
|
echo -e " port: ${MYSQL_PORT}" >> config/database.yml
|
||||||
echo -e " username: ${MYSQL_USER}" >> config/database.yml
|
echo -e " username: ${MYSQL_USER}" >> config/database.yml
|
||||||
echo -e " password: ${MYSQL_PASSWORD}" >> 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
|
elif [ "${DATABASE_ADAPTER}" == "postgres" ]; then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user