Skip to content

Commit f58fd30

Browse files
authored
[BACKEND] docker-compose.yml 수정 (#79)
1 parent 2c1fd37 commit f58fd30

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

backend/docker-compose.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ services:
66
ports:
77
- "8080:8080"
88
env_file: ".env" #EC2에 올려둔 .env 사용
9+
depends_on:
10+
- mysql
11+
- elasticsearch
912

1013
mysql:
1114
image: mysql:8.0
@@ -32,14 +35,6 @@ services:
3235
- discovery.type=single-node
3336
- xpack.security.enabled=false
3437
- xpack.security.http.ssl.enabled=false
35-
36-
kibana:
37-
image: docker.elastic.co/kibana/kibana:8.17.4
38-
container_name: kibana
39-
ports:
40-
- "5601:5601"
41-
environment:
42-
- ELASTICSEARCH_HOSTS=http://elastic:9200
43-
38+
- ES_JAVA_OPTS=-Xms256m -Xmx256m
4439
volumes:
4540
mysql_data:

0 commit comments

Comments
 (0)