Skip to content

Commit d98215c

Browse files
committed
devops: do not start up elasticsearch and redis service for now
1 parent a5250a7 commit d98215c

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

docker-compose.yml

+43-43
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ services:
1313
- 8000:8000
1414
links:
1515
- db
16-
- redis
17-
- elasticsearch
16+
# - redis
17+
# - elasticsearch
1818
depends_on:
1919
- db
20-
- redis
21-
- elasticsearch
20+
# - redis
21+
# - elasticsearch
2222
command:
2323
>
2424
bash -i -c -e
@@ -28,20 +28,20 @@ services:
2828
php artisan serve --host 0.0.0.0
2929
"
3030

31-
node:
32-
image: node:12.15.0
33-
ports:
34-
- 8080:8080
35-
volumes:
36-
- ./:/var/www/html
37-
working_dir: /var/www/html
38-
command:
39-
>
40-
bash -i -c -e
41-
"
42-
yarn install;
43-
yarn dev;
44-
"
31+
# node:
32+
# image: node:12.15.0
33+
# ports:
34+
# - 8080:8080
35+
# volumes:
36+
# - ./:/var/www/html
37+
# working_dir: /var/www/html
38+
# command:
39+
# >
40+
# bash -i -c -e
41+
# "
42+
# yarn install;
43+
# yarn dev;
44+
# "
4545

4646
db:
4747
image: mysql:8.0 # or mariadb
@@ -57,13 +57,13 @@ services:
5757
healthcheck:
5858
test: "exit 0"
5959

60-
redis:
61-
image:
62-
redis:5.0.4
63-
ports:
64-
- 6379:6379
65-
healthcheck:
66-
test: "exit 0"
60+
# redis:
61+
# image:
62+
# redis:5.0.4
63+
# ports:
64+
# - 6379:6379
65+
# healthcheck:
66+
# test: "exit 0"
6767

6868
phpmyadmin:
6969
image:
@@ -73,24 +73,24 @@ services:
7373
ports:
7474
- "${PHP_MYADMIN_PORT}:80"
7575

76-
elasticsearch:
77-
image:
78-
docker.elastic.co/elasticsearch/elasticsearch:7.7.0
79-
volumes:
80-
- esdata:/usr/share/elasticsearch/data
81-
environment:
82-
- cluster.name=group-project-test-cluster
83-
- cluster.routing.allocation.disk.watermark.low=30mb
84-
- cluster.routing.allocation.disk.watermark.high=20mb
85-
- cluster.routing.allocation.disk.watermark.flood_stage=10mb
86-
- cluster.info.update.interval=1m
87-
- xpack.security.enabled=false
88-
- discovery.type=single-node
89-
ports:
90-
- 9200:9200
91-
healthcheck:
92-
test: ["CMD", "curl", "${SCOUT_ELASTIC_HOST}"]
93-
interval: 60s
76+
# elasticsearch:
77+
# image:
78+
# docker.elastic.co/elasticsearch/elasticsearch:7.7.0
79+
# volumes:
80+
# - esdata:/usr/share/elasticsearch/data
81+
# environment:
82+
# - cluster.name=group-project-test-cluster
83+
# - cluster.routing.allocation.disk.watermark.low=30mb
84+
# - cluster.routing.allocation.disk.watermark.high=20mb
85+
# - cluster.routing.allocation.disk.watermark.flood_stage=10mb
86+
# - cluster.info.update.interval=1m
87+
# - xpack.security.enabled=false
88+
# - discovery.type=single-node
89+
# ports:
90+
# - 9200:9200
91+
# healthcheck:
92+
# test: ["CMD", "curl", "${SCOUT_ELASTIC_HOST}"]
93+
# interval: 60s
9494

9595

9696
volumes:

0 commit comments

Comments
 (0)