mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 00:05:04 +00:00
test
This commit is contained in:
parent
3906d58ad6
commit
ec7bf9b446
5 changed files with 4 additions and 41 deletions
2
.gitpod.Dockerfile
vendored
2
.gitpod.Dockerfile
vendored
|
@ -11,7 +11,7 @@ RUN apt-get update \
|
||||||
|
|
||||||
RUN ls /etc/mysql/mysql.conf.d/
|
RUN ls /etc/mysql/mysql.conf.d/
|
||||||
# Install our own MySQL config
|
# Install our own MySQL config
|
||||||
COPY mysql.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
|
COPY mysql.cnf /etc/mysql/my.cnf
|
||||||
|
|
||||||
# Install default-login for MySQL clients
|
# Install default-login for MySQL clients
|
||||||
COPY client.cnf /etc/mysql/mysql.conf.d/client.cnf
|
COPY client.cnf /etc/mysql/mysql.conf.d/client.cnf
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# this script is intended to be called from .bashrc
|
|
||||||
# This is a workaround for not having something like supervisord
|
|
||||||
|
|
||||||
if [ ! -e /var/run/mariadb/gitpod-init.lock ]
|
|
||||||
then
|
|
||||||
touch /var/run/mariadb/gitpod-init.lock
|
|
||||||
|
|
||||||
# initialize database structures on disk, if needed
|
|
||||||
[ ! -d /workspace/mariadb ] && mariadb --initialize-insecure
|
|
||||||
|
|
||||||
# launch database, if not running
|
|
||||||
[ ! -e /var/run/mariadb/mariadb.pid ] && mariadb --daemonize
|
|
||||||
|
|
||||||
rm /var/run/mariadb/gitpod-init.lock
|
|
||||||
fi
|
|
10
mariadb.conf
10
mariadb.conf
|
@ -1,10 +0,0 @@
|
||||||
[client]
|
|
||||||
host = localhost
|
|
||||||
user = root
|
|
||||||
password =
|
|
||||||
socket = /var/run/mariadb/mariadb.sock
|
|
||||||
[mariadb_upgrade]
|
|
||||||
host = localhost
|
|
||||||
user = root
|
|
||||||
password =
|
|
||||||
socket = /var/run/mariadb/mariadb.sock
|
|
|
@ -2,9 +2,9 @@
|
||||||
host = localhost
|
host = localhost
|
||||||
user = root
|
user = root
|
||||||
password =
|
password =
|
||||||
socket = /var/run/mariadb/mariadb.sock
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
[mariadb_upgrade]
|
[mysql_upgrade]
|
||||||
host = localhost
|
host = localhost
|
||||||
user = root
|
user = root
|
||||||
password =
|
password =
|
||||||
socket = /var/run/mariadb/mariadb.sock
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
|
10
mysqld.conf
10
mysqld.conf
|
@ -1,10 +0,0 @@
|
||||||
[client]
|
|
||||||
host = localhost
|
|
||||||
user = root
|
|
||||||
password =
|
|
||||||
socket = /var/run/mariadb/mariadb.sock
|
|
||||||
[mariadb_upgrade]
|
|
||||||
host = localhost
|
|
||||||
user = root
|
|
||||||
password =
|
|
||||||
socket = /var/run/mariadb/mariadb.sock
|
|
Loading…
Add table
Add a link
Reference in a new issue