-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
57 lines (50 loc) · 1015 Bytes
/
compose.yaml
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
version: '3.8'
services:
ivr_stand:
build:
context: .
dockerfile: Dockerfile
ports:
- "5001:5000"
restart: always
environment:
- DATABASE_HOST=db
- DATABASE_PORT=5432
- DATABASE_USER=postgres
- DATABASE_PASSWORD=admin
- DATABASE_NAME=test
depends_on:
- db
networks:
- ivr_network
devices:
- /dev/video0:/dev/video0
db:
image: postgres:latest
container_name: postgres_container
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: admin
POSTGRES_DB: test
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: always
networks:
- ivr_network
rsl_api:
container_name: rsl-api
build:
context: RSL-Recognition-API/
dockerfile: Dockerfile_rsl_api
ports:
- "5000:5000"
restart: always
networks:
- ivr_network
networks:
ivr_network:
driver: bridge
volumes:
postgres_data: