-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
81 lines (75 loc) · 1.81 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: '3.4'
services:
redis:
image: redis
restart: always
command: redis-server --appendonly yes
ports:
- 6379:6379
volumes:
- ./redis/data:/data
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
networks:
- common_link
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: seigi
MONGO_INITDB_ROOT_PASSWORD: seigi@123
ports:
- 27017:27017
#volumes:
# https://github.com/jsbroks/coco-annotator/issues/30
#- ./mongo/db:/data/db
#- ./mongo/configdb:/data/configdb
networks:
- common_link
mysql:
image: mysql
restart: always
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: seigi@123
MYSQL_DATABASE: test
TZ: 'Asia/Tokyo'
ports:
- 3306:3306
volumes:
#- ./mysql/data:/var/lib/mysql
- ./mysql/init:/docker-entrypoint-initdb.d
networks:
- common_link
postgres:
image: postgres
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=seigi@123
ports:
- 5432:5432
volumes:
#- ./postgres/data:/var/lib/postgresql/data
- ./postgres/init:/docker-entrypoint-initdb.d
networks:
- common_link
sqlserver:
image: microsoft/mssql-server-linux:latest
restart: always
command: "sh -c '/init/start-up.sh & /opt/mssql/bin/sqlservr;'"
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=seigi@123
- MSSQL_PID=Express
- MSSQL_LCID=1041
- MSSQL_COLLATION=Japanese_CI_AS
ports:
- 1433:1433
volumes:
#- ./sqlserver/mssql-db:/var/opt/mssql
- ./sqlserver/init:/init
networks:
- common_link
networks:
common_link:
external: true