-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-services.yml
47 lines (43 loc) · 1.18 KB
/
docker-compose-services.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
version: "3.7"
services:
mysql:
image: mysql:5.7
container_name: app_mysql_test
command: mysqld --user=root
ports:
- 3306:3306
volumes:
- ./deployments/app.sql:/docker-entrypoint-initdb.d/init.sql
network_mode: host
environment:
- MYSQL_DATABASE=app
- MYSQL_USER=user
- MYSQL_PASSWORD=mypassword
- MYSQL_ROOT_PASSWORD=root
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
timeout: 5s
retries: 10
dynamo:
image: amazon/dynamodb-local
container_name: app_dynamo_test
ports:
- 8000:8000
network_mode: host
elasticsearch:
image: elasticsearch:7.3.1
container_name: app_es_test
ports:
- 9200:9200
- 9300:9300
environment:
- discovery.type=single-node
kibana:
image: kibana:7.3.1
container_name: app_kibana_test
ports:
- 5601:5601
environment:
- ELASTICSEARCH_URL=http://localhost:9200
depends_on:
- elasticsearch