-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (52 loc) · 962 Bytes
/
docker-compose.yml
File metadata and controls
55 lines (52 loc) · 962 Bytes
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
version: '3.8'
services:
base-api:
image: base-api
build: .
container_name: base-api
command: npm start
volumes:
- .:/app
- /app/node_modules
ports:
- "8080:8080"
expose:
- "8080"
depends_on:
- postgres
- elasticsearch
env_file:
- .envs/.base-api.env
postgres:
image: postgres:14-alpine
container_name: postgres
volumes:
- /var/lib/postgresql/data
ports:
- "5432:5432"
expose:
- "5432"
env_file:
- .envs/.postgres.env
elasticsearch:
image: elasticsearch:7.17.0
volumes:
- /var/lib/elasticsearch/data
ports:
- 9200:9200
expose:
- 9200
depends_on:
- kibana
env_file:
- .envs/.elasticsearch.env
deploy:
resources:
limits:
memory: 2048M
kibana:
image: kibana:7.17.0
env_file:
- .envs/.kibana.env
ports:
- 5601:5601