forked from Thor-x86/nullable
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
58 lines (56 loc) · 1.35 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3"
services:
mysql:
image: mysql:latest
container_name: nullable_test_mysql
environment:
MYSQL_DATABASE: gorm
MYSQL_USER: gorm
MYSQL_PASSWORD: gorm
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
ports:
- 3306:3306
mysql-legacy:
image: mysql:5.7
container_name: nullable_test_mysql_legacy
environment:
MYSQL_DATABASE: gorm
MYSQL_USER: gorm
MYSQL_PASSWORD: gorm
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
ports:
- 3307:3306
mariadb:
image: mariadb:latest
container_name: nullable_test_mariadb
environment:
MYSQL_DATABASE: gorm
MYSQL_USER: gorm
MYSQL_PASSWORD: gorm
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
ports:
- 3308:3306
postgres:
image: postgres:latest
container_name: nullable_test_postgres
environment:
POSTGRES_PASSWORD: gorm
POSTGRES_USER: gorm
POSTGRES_DB: gorm
TZ: Asia/Jakarta
ports:
- 5432:5432
volumes:
- /var/run/postgresql:/var/run/postgresql:z
### Uncomment this to test Microsoft SQL Server
# mssql:
# image: mcmoe/mssqldocker:latest
# container_name: nullable_test_mssql
# environment:
# ACCEPT_EULA: Y
# SA_PASSWORD: LoremIpsum86
# MSSQL_DB: gorm
# MSSQL_USER: gorm
# MSSQL_PASSWORD: LoremIpsum86
# ports:
# - 9930:1433