-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
94 lines (84 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
82
83
84
85
86
87
88
89
90
91
92
93
94
version: "3"
services:
#php server
canvasapi:
image: mctekk/phalconphp:7.4
volumes:
- .:/app
depends_on:
- 'redis'
- 'mysql'
tty: true
ports:
- "9000:9000"
networks:
- local-network
redis:
image: 'redis:5.0-alpine'
ports:
- "6379:6379"
volumes:
- 'redis:/data'
networks:
- local-network
memcached:
image: memcached
ports:
- "11211:11211"
networks:
- local-network
elasticsearch: # Elasticsearch Instance
image: docker.elastic.co/elasticsearch/elasticsearch:6.7.0
container_name: elasticsearch
volumes: # Persist ES data in seperate "esdata" volume
- esdata:/usr/share/elasticsearch/data
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
command: ./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/6.7.0.0/elasticsearch-sql-6.7.0.0.zip #install sql plugin
ports: # Expose Elasticsearch ports
- "9300:9300"
- "9200:9200"
networks:
- local-network
mysql:
image: mariadb:10.4
restart: always
ports:
- "3306:3306"
env_file:
- '.env'
volumes:
- "db-data:/var/lib/mysql"
networks:
- local-network
rabbitmq:
image: rabbitmq:3.7
hostname: "rabbit"
env_file:
- '.env'
labels:
NAME: "rabbitmq1"
volumes:
- "rabbit:/var/lib/rabbitmq"
ports:
- "15672:15672"
- "5672:5672"
networks:
- local-network
beanstalkd:
image: schickling/beanstalkd:latest
restart: always
ports:
- "11300:11300"
networks:
- local-network
volumes:
db-data:
redis:
esdata:
rabbit:
networks:
local-network:
public-network: