-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml.bak
executable file
·152 lines (139 loc) · 5.11 KB
/
docker-compose.yml.bak
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
version: '3.6'
services:
mysql-5.6.34-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/mysql:5.6.34
ports:
- 3306:3306
volumes:
- ~/Docker:/volumes_data:cached
- ~/Docker/container/mysql/5.6.34/v1/conf.d:/etc/mysql/conf.d:cached
- ~/Docker/container/mysql/5.6.34/v1/data:/var/lib/mysql:cached
privileged: true
environment:
MYSQL_ROOT_PASSWORD: 123456
container_name: mysql-5.6.34-v1
mysql-5.7.20-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/mysql:5.7.20
ports:
- 3307:3306
volumes:
- ~/Docker:/volumes_data:cached
- ~/Docker/container/mysql/5.7.20/v1/conf.d:/etc/mysql/conf.d:cached
- ~/Docker/container/mysql/5.7.20/v1/data:/var/lib/mysql:cached
privileged: true
environment:
MYSQL_ROOT_PASSWORD: 123456
container_name: mysql-5.7.20-v1
php-5.6.27-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/php:5.6.27
volumes:
- ~/Docker:/volumes_data:cached
- ~/Docker/container/php/5.6.27/v1/conf.d:/usr/local/etc/php/conf.d:cached
privileged: true
container_name: php-5.6.27-v1
php-7.2.3-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/php:7.2.3
volumes:
- ~/Docker:/volumes_data:cached
- ~/Docker/container/php/7.2.3/v1/conf.d:/usr/local/etc/php/conf.d:cached
privileged: true
container_name: php-7.2.3-v1
nginx-1.10.2-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/nginx:1.10.2
ports:
- 80:80
- 443:443
depends_on:
- php-5.6.27-v1
- php-7.2.3-v1
volumes:
- ~/Docker:/volumes_data:cached
- ~/Docker/container/nginx/1.10.2/v1/conf.d:/etc/nginx/conf.d:cached
privileged: true
container_name: nginx-1.10.2-v1
redis-4.0.0-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/redis:4.0.0
volumes:
- ~/Docker/container/redis/4.0.0/v1/data:/data:cached
privileged: true
container_name: redis-4.0.0-v1
elasticsearch-5.5.1-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/elasticsearch:5.5.1
command: elasticsearch -Ecluster.name=dev -Enode.name=dev_node
volumes:
- ~/Docker/container/elasticsearch/5.5.1/v1/data:/usr/share/elasticsearch/data:cached
- ~/Docker/container/elasticsearch/5.5.1/v1/plugins/ik:/usr/share/elasticsearch/plugins/ik:cached
- ~/Docker/container/elasticsearch/5.5.1/v1/plugins/ingest-attachment:/usr/share/elasticsearch/plugins/ingest-attachment:cached
- ~/Docker/container/elasticsearch/5.5.1/v1/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:cached
ports:
- 9200:9200
- 9300:9300
environment:
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
privileged: true
container_name: elasticsearch-5.5.1-v1
kibana-5.5.1-v1:
image: registry.cn-shenzhen.aliyuncs.com/624508914/kibana:5.5.1
ports:
- 5601:5601
volumes:
- ~/Docker/container/kibana/5.5.1/v1/config/kibana.yml:/usr/share/kibana/config/kibana.yml:cached
depends_on:
- elasticsearch-5.5.1-v1
privileged: true
container_name: kibana-5.5.1-v1
rabbitmq-3.7.6-v1:
image: docker.io/rabbitmq:3.7.6
ports:
- 15672:15672
volumes:
- ~/Docker:/volumes_data
- ~/Docker/container/rabbitmq/3.7.6/v1/conf.d/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:cached
privileged: true
environment:
RABBITMQ_DEFAULT_USER: yangyj
RABBITMQ_DEFAULT_PASS: 123456
container_name: rabbitmq-3.7.6-v1
etcd:
image: bitnami/etcd:latest
ports:
- 2379:2379
- 2380:2380
environment:
- ALLOW_NONE_AUTHENTICATION=yes
- ETCD_ADVERTISE_CLIENT_URLS=http://etcd:2379
networks:
- dev_net
container_name: etcd
redis:
image: redis:6.0.9
ports:
- 6379:6379
volumes:
- ~/Docker/container/redis/6.0.9/v1/data:/data:cached
networks:
- dev_net
container_name: redis
mysql:
image: mysql:8.0.22
ports:
- 3306:3306
volumes:
- ~/Docker:/volumes_data:cached
- ~/Docker/container/mysql/8.0.22/v1/conf.d/:/etc/mysql/conf.d:cached
- ~/Docker/container/mysql/8.0.22/v1/data:/var/lib/mysql:cached
environment:
- MYSQL_ROOT_PASSWORD=123456
command:
--default-authentication-plugin=mysql_native_password
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
networks:
- dev_net
container_name: mysql
networks:
dev_net:
ipam:
driver: default
config:
- subnet: "172.16.110.0/24"