-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
59 lines (55 loc) · 1.36 KB
/
docker-compose.yaml
File metadata and controls
59 lines (55 loc) · 1.36 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
version: '3'
services:
voi-backend:
build: ./FlaskBackend
container_name: voi-backend
ports:
- 80:80
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: voi
POSTGRES_DB: postgres
POSTGRES_PORT: 5432
POSTGRES_HOST: voi-postgres
ELASTIC_HOST: voi-es
ELASTIC_PORT: 9200
PORT: 80
AUDIO_DIR: /audio_data
PYTHONUNBUFFERED: 1
depends_on:
- voi-postgres
- voi-es
links:
- voi-postgres
- voi-es
voi-postgres:
image: "postgres:9.6-alpine"
container_name: voi-postgres
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: voi
ports:
- 5432:5432
voi-es:
image: 'elasticsearch:6.6.0'
container_name: voi-es
restart: always
environment:
- node.name=voi-es
- discovery.type=single-node
ports:
- 9200:9200
volumes:
voi-production-pg:
driver: local
voi-testing-pg:
driver: local
voi-production-audio:
driver: local
voi-testing-audio:
driver: local
voi-production-es:
driver: local
voi-testing-es:
driver: local