ADD Microsoft sqlserver 2017

ADD mssqlserver linux editon in docker 2017-CU5
This commit is contained in:
JJmomark 2018-04-10 10:04:37 +08:00
parent de9f12bd39
commit a4991d3ded
4 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,20 @@
version: '2'
services:
mssql-linux:
image: microsoft/mssql-server-linux:2017-CU5
environment:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: ${mssql_password}
stdin_open: true
volumes:
- mssqlvolume:/var/opt/mssql
tty: true
ports:
- ${mssql_port}:1433/tcp
labels:
io.rancher.container.pull_image: always
volumes:
mssqlvolume:
driver: ${VOLUME_DRIVER}
per_container: true

View File

@ -0,0 +1,41 @@
.catalog:
name: MSSQLServer
version: 2017-CU5-rancher1
description: sqlserver
maintainer: "JagJag <kyukou@gmail.com>"
questions:
- variable: "mssqlscale"
type: "int"
required: true
label: "# of mssql instance "
description: "# of mssql instance"
default: 3
- variable: "mssql_password"
type: "string"
required: true
label: "SA Password"
description: "require Strong Password"
default: <YourStrong!Passw0rd>
- variable: "mssql_port"
type: "string"
required: true
label: "mssql_port"
description: "connect port"
default: 1433
- variable: "VOLUME_DRIVER"
description: "The VOLUME driver to associate with this server"
label: "VOLUME Driver"
required: true
default: "local"
type: enum
options:
- local
- rancher-nfs
- rancher-efs
- rancher-ebs
version: '2'
services:
mssql-linux:
scale: ${mssqlscale}
start_on_create: true

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

View File

@ -0,0 +1,6 @@
name: Microsoft SQLSERVER
description: |
Microsoft sqlserver 2017 docker edition
version: 2017-CU5-rancher1
maintainer: "Jiang Jiang <kyukou@gmail.com>"
category: Databases