-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.bac
132 lines (130 loc) · 4.85 KB
/
docker-compose.yml.bac
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: '2'
services:
www-data:
container_name: www-data
image: centos:6.6
command: /bin/bash
volumes:
- /Users/lilclimate/Public/workspace/meizu_company/data/etc:/data/etc
- /Users/lilclimate/Public/workspace/meizu_company/data/sh:/data/sh
- /Users/lilclimate/Public/workspace/meizu_company/developer:/data/www
- /Users/lilclimate/Public/workspace/lua_demo:/data/openresty/nginx/lua
mysql:
container_name: mysql
image: mysql:5.7.13
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: dbname
MYSQL_USER: user
MYSQL_PASSWORD: 123456
ports:
- "3306:3306"
redis:
container_name: redis
image: redis:3.2.1
ports:
- "6379:6379"
openresty:
container_name: openresty
build: ./openresty1.9.15
command: service nginx start
ports:
- 8888:80
- 8080:8080
- 9090:9090
- 8083:8081
volumes_from:
- www-data
links:
- redis:redis
- mysql:mysql
extra_hosts:
- cs-api.meizu.com:192.168.99.100
openresty-1.11.2.1:
container_name: openresty-1.11.2.1
build: ./openresty1.11.2.1
command: service nginx start
ports:
- 8889:80
- 8089:8080
- 9099:9090
- 8099:8081
volumes_from:
- www-data
links:
- redis:redis
- mysql:mysql
extra_hosts:
- cs-api.meizu.com:192.168.99.100
nginx-proxy:
container_name: nginx-proxy
build: ./nginx1.11-proxy
command: service nginx start
expose:
- 22
ports:
- 80:80
- 443:443
volumes_from:
- www-data
depends_on:
- nginx-php1
- nginx-php2
links:
- nginx-php1:server1
- nginx-php2:server2
extra_hosts:
- i.flyme.cn:172.16.200.220
nginx-php1:
container_name: nginx-php1
build: ./nginx-php5.6
command: /bin/sh /data/sh/run/nginx-php.sh
privileged: true
ports:
- 8081:80
volumes_from:
- www-data
extra_hosts:
- cs-api.meizu.com:192.168.99.100
- zsk-manage.meizu.com:10.2.67.115
- i.flyme.cn:172.16.200.220
- mie.meizu.com:10.2.69.24
- uac.meizu.com:172.17.21.37
links:
- mysql:mysql
nginx-php2:
container_name: nginx-php2
build: ./nginx-php5.6
command: /bin/sh /data/sh/run/nginx-php.sh
privileged: true
ports:
- 8082:80
volumes_from:
- www-data
extra_hosts:
- cs-api.meizu.com:192.168.99.100
- zsk-manage.meizu.com:10.2.67.115
- i.flyme.cn:172.16.200.220
- mie.meizu.com:10.2.69.24
- uac.meizu.com:172.17.21.37
links:
- mysql:mysql
xunsearch:
container_name: xunsearch
image: z/xunsearch1.4.10
command: /bin/sh /data/sh/run/xs.sh
ports:
- 8383:8383
- 8384:8384
volumes_from:
- www-data
elasticsearch:
container_name: elasticsearch
image: z/elasticsearch2.3
command: /bin/sh /data/elasticsearch2.3/bin/elasticsearch -Des.insecure.allow.root=true
ports:
- 9200:9200
volumes_from:
- www-data
extra_hosts:
- www.bintray.com:119.81.184.206