Skip to content
Snippets Groups Projects
Commit fd243437 authored by Robert Lange's avatar Robert Lange
Browse files

Merge branch 'finc' into instance/fid

parents 854ed622 62a58be4
No related merge requests found
......@@ -7,4 +7,7 @@ NODE_SASS=^7.0.1
COMPOSER_VERSION=composer1
# Version for php in PHP container: php7_2 | php8_0
PHP_VERSION=php7_2
\ No newline at end of file
PHP_VERSION=php7_2
# Version for database in db container: mariadb_10_3 | mariadb_10_11
DB_VERSION=mariadb_10_3
\ No newline at end of file
# Copyright (C) 2023 Leipzig University Library
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# @author Sebastian Kehr <kehr@ub.uni-leipzig.de>
# @license https://opensource.org/licenses/GPL-3.0 GNU GPLv3
FROM mariadb:10.11.5
\ No newline at end of file
# Copyright (C) 2023 Leipzig University Library
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# @author Sebastian Kehr <kehr@ub.uni-leipzig.de>
# @license https://opensource.org/licenses/GPL-3.0 GNU GPLv3
FROM mariadb:10.3.17
\ No newline at end of file
#!/usr/bin/env sh
# Copyright (C) 2020 Leipzig University Library
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# @author Sebastian Kehr <kehr@ub.uni-leipzig.de>
# @license https://opensource.org/licenses/GPL-3.0 GNU GPLv3
until ! (ping -c1 env >/dev/null 2>&1) && [ -f ./data/docker/env/db ]; do :; done
while ! grep -q MYSQL_ROOT_PASSWORD ./data/docker/env/db
do
echo "wait for MYSQL_ROOT_PASSWORD"
sleep 1
done
set -a; . ./data/docker/env/db; set +a
echo "set up db"
exec docker-entrypoint.sh "$@"
\ No newline at end of file
......@@ -43,7 +43,7 @@ services:
tty: true
db:
image: mariadb:10.3.17
build: devops/docker/db/${DB_VERSION:-mariadb_10_3}
ports:
- 127.0.0.1:${DB_PORT:-11101}:3306
working_dir: /usr/local/vufind
......@@ -53,7 +53,7 @@ services:
depends_on:
- env
- autoconfig
entrypoint: ["devops/docker/db/entrypoint.sh"]
entrypoint: devops/docker/db/${DB_VERSION:-mariadb_10_3}/entrypoint.sh
command: [
"mysqld",
"--character-set-server=utf8mb4",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment