diff options
| author | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-03-28 19:29:26 +0530 |
|---|---|---|
| committer | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-03-28 19:29:26 +0530 |
| commit | cc114e825a081b666280b83d0bbcfbe2f280fd7f (patch) | |
| tree | f739e6e5d8a8114c63f4da0c3a93740ca688970c | |
| parent | 6bf8e6fd8d8579393db3c7687962f38aa3d891f4 (diff) | |
| download | vaindock-develop.tar.gz vaindock-develop.zip | |
Container for mariadbdevelop
| -rw-r--r-- | docker-compose.yml | 15 | ||||
| -rw-r--r-- | mariadb/Dockerfile | 9 | ||||
| -rw-r--r-- | mariadb/my.cnf | 6 |
3 files changed, 30 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 8b7a519..75d6a17 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -277,6 +277,19 @@ services: - vaindock_postgres_raw - vaindock_postgres_web +### pgAdmin Container ####################################### + mdbweb: + container_name: vaindock_mdb_web + build: ./mariadb + volumes: + - vaindock_mdb_web:/var/lib/mysql + ports: + - 3306:3306 + environment: + - MYSQL_DATABASE=vainweb + - MYSQL_USER=vainweb + - MYSQL_PASSWORD=vainweb + - MYSQL_ROOT_PASSWORD=vainweb ### Volumes Setup ########################################### @@ -285,6 +298,8 @@ volumes: driver: "local" vaindock_pg_web: driver: "local" + vaindock_mdb_web: + driver: "local" sessions: ## nothing is connected to this (- ./data/sessions:/sessions) driver: "local" diff --git a/mariadb/Dockerfile b/mariadb/Dockerfile new file mode 100644 index 0000000..cece944 --- /dev/null +++ b/mariadb/Dockerfile @@ -0,0 +1,9 @@ +FROM mariadb:latest + +MAINTAINER Mahmoud Zalt <mahmoud@zalt.me> + +ADD my.cnf /etc/mysql/conf.d/my.cnf + +CMD ["mysqld"] + +EXPOSE 3306
\ No newline at end of file diff --git a/mariadb/my.cnf b/mariadb/my.cnf new file mode 100644 index 0000000..9a54930 --- /dev/null +++ b/mariadb/my.cnf @@ -0,0 +1,6 @@ +# MariaDB database server configuration file. +# +# You can use this file to overwrite the default configuration +# +# For explanations see +# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
\ No newline at end of file |
