Add Dockerfile

The Dockerfile is used to build a Docker image with all MaxScale
dependencied included. A short readme for using the image is attached.
This commit is contained in:
Esa Korhonen
2017-08-15 10:30:19 +03:00
parent 8b08d61487
commit e2fb5b4ddf
4 changed files with 271 additions and 0 deletions

24
docker/maxscale.cnf Normal file
View File

@ -0,0 +1,24 @@
# MaxScale documentation on GitHub:
# https://github.com/mariadb-corporation/MaxScale/blob/develop/Documentation/Documentation-Contents.md
# Complete list of configuration options:
# https://github.com/mariadb-corporation/MaxScale/blob/develop/Documentation/Getting-Started/Configuration-Guide.md
# Global parameters
[maxscale]
threads=2
# This service enables the use of the MaxAdmin interface
# MaxScale administration guide:
# https://github.com/mariadb-corporation/MaxScale/blob/develop/Documentation/Reference/MaxAdmin.md
[MaxAdmin-Service]
type=service
router=cli
[MaxAdmin-Listener]
type=listener
service=MaxAdmin-Service
protocol=maxscaled
socket=default