-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 1 KB
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
version: '3.6'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.0.1
environment:
- discovery.type=single-node
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
- 9300:9300
expose:
- 9200
- 9300
restart: always
frontend_dev:
build:
context: scriptor-app/
dockerfile: dev.Dockerfile
ports:
- 3000:3000
expose:
- 3000
depends_on:
- backend
volumes:
- ./scriptor-app/:/app/
restart: always
backend:
build:
context: scriptor-backend/
dockerfile: Dockerfile
ports:
- 5000:5000
expose:
- 5000
depends_on:
- elasticsearch
environment:
ES_HOSTS: elasticsearch
volumes:
- ./scriptor-backend/:/app/
restart: always
frontend:
build:
context: scriptor-app/
dockerfile: Dockerfile
ports:
- 3000:3000
expose:
- 3000
depends_on:
- backend
restart: always
volumes:
esdata: