-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
131 lines (120 loc) · 2.25 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
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
version: '2'
services:
mongo:
restart: always
image: mongo:3.4
expose:
- "27017"
ports:
- "27017:27017"
volumes:
- mongo:/data/db
postgres:
restart: always
image: postgres:9.5-alpine
expose:
- "5432"
ports:
- "5432:5432"
volumes:
- postgres:/var/lib/postgresql/data
env_file:
- variables.env
mysql:
restart: always
image: mysql:5.7
expose:
- "3306"
ports:
- "3306:3306"
volumes:
- ./data/mysql:/docker-entrypoint-initdb.d
- mysql:/var/lib/mysql
- ./conf/mysql/my.cnf:/etc/mysql/conf.d/my.cnf
env_file:
- variables.env
phpmyadmin:
restart: always
image: phpmyadmin/phpmyadmin:4.7
depends_on:
- mysql
ports:
- "8080:80"
env_file:
- variables.env
memcached:
restart: always
image: memcached:1.4-alpine
ports:
- "11211:11211"
queue:
restart: always
image: phalconphp/beanstalkd:1.10
ports:
- "11300:11300"
volumes:
- beanstalk:/var/lib/beanstalkd
aerospike:
restart: always
image: aerospike:latest
ports:
- "3000:3000"
- "3001:3001"
- "3002:3002"
- "3003:3003"
volumes:
- aerospike:/opt/aerospike/data
redis:
restart: always
image: redis:3.2-alpine
ports:
- "6379:6379"
volumes:
- redis:/data
elasticsearch:
image: elasticsearch:5.2-alpine
restart: always
expose:
- "9200"
- "9300"
ports:
- "9200:9200"
- "9300:9300"
env_file:
- variables.env
volumes:
- esdata:/usr/share/elasticsearch/data
app:
build: docker/app
restart: always
working_dir: /project
ports:
- "80:80"
- "443:443"
volumes:
- .:/project
- ./conf/php/cli.ini:/etc/php/7.0/cli/conf.d/99-custom.ini
- ./conf/php/fpm.ini:/etc/php/7.0/fpm/conf.d/99-custom.ini
depends_on:
- mysql
- queue
- redis
- memcached
- elasticsearch
env_file:
- variables.env
volumes:
mongo:
driver: local
postgres:
driver: local
mysql:
driver: local
beanstalk:
driver: local
redis:
driver: local
aerospike:
driver: local
esdata:
driver: local