-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yaml
54 lines (50 loc) · 1.65 KB
/
docker-compose.yaml
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
###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: "3.1"
services:
mailer:
image: schickling/mailcatcher
ports: [ 1025, 1080 ]
memcached:
image: memcached:alpine
container_name: criticalmass-memcached
labels:
com.symfony.server.service-prefix: 'MEMCACHED'
redis:
image: redis:alpine
container_name: criticalmass-redis
labels:
com.symfony.server.service-prefix: 'REDIS'
mysql:
image: mariadb:10.9.3
command: --default-authentication-plugin=mysql_native_password
container_name: criticalmass-mysql
working_dir: /application
volumes:
- ./docker/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=criticalmass
- MYSQL_USER=criticalmass
- MYSQL_PASSWORD=criticalmass
ports:
- "8002:3306"
labels:
com.symfony.server.service-prefix: 'DATABASE'
elasticsearch:
image: elasticsearch:7.17.10
container_name: criticalmass-elasticsearch
environment:
- discovery.type=single-node
- cluster.routing.allocation.disk.threshold_enabled=true
- cluster.routing.allocation.disk.watermark.flood_stage=100mb
- cluster.routing.allocation.disk.watermark.low=500mb
- cluster.routing.allocation.disk.watermark.high=250mb
volumes:
- ./docker/elasticsearch:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
labels:
com.symfony.server.service-prefix: 'ELASTICSEARCH'