2020-02-23 04:38:48 +03:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
mysql:
|
|
|
|
image: 'mysql:latest'
|
|
|
|
ports:
|
|
|
|
- 9910:3306
|
|
|
|
environment:
|
|
|
|
- MYSQL_DATABASE=gorm
|
|
|
|
- MYSQL_USER=gorm
|
|
|
|
- MYSQL_PASSWORD=gorm
|
|
|
|
- MYSQL_RANDOM_ROOT_PASSWORD="yes"
|
|
|
|
postgres:
|
|
|
|
image: 'postgres:latest'
|
|
|
|
ports:
|
|
|
|
- 9920:5432
|
|
|
|
environment:
|
|
|
|
- POSTGRES_DB=gorm
|
2020-03-04 17:16:39 +03:00
|
|
|
- POSTGRES_USER=gorm
|
2020-02-23 04:38:48 +03:00
|
|
|
- POSTGRES_PASSWORD=gorm
|
|
|
|
mssql:
|
|
|
|
image: 'mcmoe/mssqldocker:latest'
|
|
|
|
ports:
|
|
|
|
- 9930:1433
|
|
|
|
environment:
|
|
|
|
- ACCEPT_EULA=Y
|
|
|
|
- SA_PASSWORD=LoremIpsum86
|
|
|
|
- MSSQL_DB=gorm
|
|
|
|
- MSSQL_USER=gorm
|
|
|
|
- MSSQL_PASSWORD=LoremIpsum86
|