forked from sequelize/sequelize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 907 Bytes
/
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
version: '2'
services:
sequelize:
build: .
links:
- mysql-57
- postgres-95
volumes:
- .:/sequelize
environment:
SEQ_DB: sequelize_test
SEQ_USER: sequelize_test
SEQ_PW: sequelize_test
# PostgreSQL
postgres-95:
image: camptocamp/postgis:9.5
environment:
POSTGRES_USER: sequelize_test
POSTGRES_PASSWORD: sequelize_test
POSTGRES_DB: sequelize_test
volumes:
- /mnt/sequelize-ramdisk:/var/lib/postgresql/data
ports:
- "127.0.0.1:8998:5432"
container_name: postgres-95
# MySQL
mysql-57:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: lollerskates
MYSQL_DATABASE: sequelize_test
MYSQL_USER: sequelize_test
MYSQL_PASSWORD: sequelize_test
volumes:
- /mnt/sequelize-ramdisk:/var/lib/mysql
ports:
- "127.0.0.1:8999:3306"
container_name: mysql-57