-
Notifications
You must be signed in to change notification settings - Fork 58
/
docker-compose.override.yml
88 lines (84 loc) · 2.26 KB
/
docker-compose.override.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
version: '3'
services:
postgres-user:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="auth-api","auth-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- auth_api_data:/data/postgres
ports:
- 5436:5432
postgres-cart:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="cart-api","cart-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- cart_api_data:/data/postgres
ports:
- 5438:5432
postgres-delivery:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="delivery-api","delivery-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- delivery_api_data:/data/postgres
ports:
- 5439:5432
postgres-order:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="order-api","order-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- order_api_data:/data/postgres
ports:
- 5433:5432
postgres-restaurant:
environment:
- POSTGRES_USER=api
- POSTGRES_PASSWORD=development_pass
- POSTGRES_MULTIPLE_DATABASES="restaurant-api","restaurant-api-testing"
volumes:
- ./docker-utils:/docker-entrypoint-initdb.d
- restaurant_api_data:/data/postgres
ports:
- 5435:5432
es01:
container_name: es01
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- discovery.seed_hosts=es01
- cluster.initial_master_nodes=es01
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es_data:/usr/share/elasticsearch/data
ports:
- 9200:9200
kibana:
container_name: kb-container
environment:
- ELASTICSEARCH_HOSTS=http://es01:9200
depends_on:
- es01
ports:
- 5601:5601
volumes:
auth_api_data: {}
restaurant_api_data: {}
cart_api_data: {}
es_data: {}
delivery_api_data: {}
order_api_data: {}