-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
52 lines (48 loc) · 1.1 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
mysql:
image: mysql:5.7
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: sqlectron
volumes:
- ./test/databases/mysql/schema:/docker-entrypoint-initdb.d
postgres:
image: postgres:9.4.5
ports:
- "5432:5432"
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: sqlectron
volumes:
- ./test/databases/postgresql/schema:/docker-entrypoint-initdb.d
cassandra:
image: cassandra:3.7
environment:
JVM_OPTS: -Xms128m -Xmx512m
ports:
- "7000:7000" # cluster
- "9042:9042" # native
# mssql:
# image: microsoft/mssql-server-linux
# environment:
# ACCEPT_EULA: "Y"
# SA_PASSWORD: "password"
# ports:
# - "1433:1433"
# volumes:
# - ./test/databases/mssql/schema:/
# test:
# image: node:6.5.0-onbuild
# command: npm rb && npm test
# environment:
# DB_CLIENTS: mysql,postgresql,cassandra
# MYSQL_ENV_MYSQL_USER: root
# MYSQL_ENV_MYSQL_PASSWORD: password
# volumes:
# - .:/usr/src/app
# links:
# - mysql:mysql
# - postgres:postgres
# - cassandra:cassandra