2017-08-14 17:46:09 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
|
|
|
|
# mysql
|
|
|
|
mysql:
|
2017-10-08 19:48:21 +00:00
|
|
|
image: "mysql:5.7.19"
|
2017-11-18 17:16:35 +00:00
|
|
|
container_name: "typeorm-mg-mysql"
|
2017-08-14 17:46:09 +00:00
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: "!Passw0rd"
|
|
|
|
|
|
|
|
# mariadb
|
|
|
|
mariadb:
|
2017-10-08 19:48:21 +00:00
|
|
|
image: "mariadb:10.2.9"
|
2017-11-18 17:16:35 +00:00
|
|
|
container_name: "typeorm-mg-mariadb"
|
2017-08-14 17:46:09 +00:00
|
|
|
ports:
|
|
|
|
- "3307:3306"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: "!Passw0rd"
|
|
|
|
|
|
|
|
# postgres
|
|
|
|
postgres:
|
2017-10-08 19:48:21 +00:00
|
|
|
image: "postgres:10.0"
|
2017-11-18 17:16:35 +00:00
|
|
|
container_name: "typeorm-mg-postgres"
|
2017-08-14 17:46:09 +00:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: "!Passw0rd"
|
|
|
|
|
2017-11-18 16:43:25 +00:00
|
|
|
# # mssql
|
|
|
|
# mssql:
|
|
|
|
# image: "microsoft/mssql-server-linux:2017-GA"
|
2017-11-18 17:16:35 +00:00
|
|
|
# container_name: "typeorm-mg-mssql"
|
2017-11-18 16:43:25 +00:00
|
|
|
# ports:
|
|
|
|
# - "1433:1433"
|
|
|
|
# environment:
|
|
|
|
# ACCEPT_EULA: "Y"
|
|
|
|
# SA_PASSWORD: "!Passw0rd"
|
|
|
|
|